Graphic Object Metaclass
Overview
The Graphic class defines the basic methods that apply to all INT Graphic
objects, including methods to display, select, move and resize objects.
Additional methods include hardcopy output for Postscript and CGM, group and
ungroup, cut and paste, and file import and export. Most methods defined in
the Graphic class are accessible through actions or functions defined in the
EditObject widget class. Do not instantiate the Graphic object class directly.
Interactive Editing
Interactive editing of an object is defined by specifying a translation table
on the parent widget. The EditObject widget class defines a comprehensive set
of actions for object editing. Examples of actions include ObjectSelect,
ObjectEdit, ObjectAddPoint and ObjectDeletePoint. The Graphic class defines a
set of resources, including XmNsensitive, XmNshape and XmNmove to selectively
enable or disable any editing action on a Graphic object.
Visual Attributes
The Graphic class defines all the basic graphic attributes necessary to
describe the appearance an object, including line color, size and style. Other
resources are available to describe the fill style, fill color, and pattern.
The bitmap pattern can be specified from a pixmap or from a file containing a
bitmap definition.
Coordinate System
Each object class defines a specific resource or set of resources that describe
the geometry of the object. The coordinate system used to describe the object
geometry is normally the one defined by its parent. Two resources,
XmNverticalAxis and XmNhorizontalAxis, can be used to specify a different
coordinate system vertically, horizontally or both.