Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ GraphicIntro(3I) — Lucid Energize 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

InterViews(3I)

GraphicIntro(3I)  —  InterViews Reference Manual

NAME

InterViews structured graphics library

SYNOPSIS

#include <InterViews/Graphic/class.h>
CC ... −lgraphic ... −lInterViews −lX −lm

DESCRIPTION

The Graphic library provides a set of classes for defining persistent structured graphics.  Graphic is the base class for structured graphics objects; prederived classes classes include simple graphical objects (Point, Ellipse, Spline, Label, etc.), a composite object (Picture), and an object that is a variation on another object (Instance).  Each graphic can be manipulated and transformed independently of others.  Functions are provided for computing the graphic’s bounding box and whether or not it intersects a given point or rectangle. 

Graphics are persistent in that each defines a representation of itself that can be automatically written to and read from disk.  The Graphic class is derived from Persistent, described in Persistent(3I), which provides this functionality in a general persistent object class.  Graphics use persistent paint objects that are analogous to the paint objects used by painters.  Persistent paint objects are defined in <InterViews/Graphic/ppaint.h>. 

Graphic(3I) contains all you need to know to use Graphic and derived classes without the persistence feature.  If persistent graphics are required, then you should read Persistent(3I). 

The Graphic library provides two additional classes for use with structured graphics objects.  Damage supports incremental redraw of graphical objects whose appearance has been modified.  GraphicBlock is an interactor that displays a structured graphics object.  A GraphicBlock interprets a perspective to allow scrolling and zooming of the graphic it contains. 

SEE ALSO

InterViews(3I)

InterViews  —  Last change: 31 July 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026