Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vertices(3u) [debian man page]

Vertices(3U)						    InterViews Reference Manual 					      Vertices(3U)

NAME
Vertices - abstract base class for graphics defined by a set of coordinate pairs SYNOPSIS
#include <Unidraw/Graphic/verts.h> DESCRIPTION
Vertices is an abstract base class for graphics such as polygons and splines whose geometry is specified by a set of coordinate pairs. The Vertices class supports vertex-related operations common to all such graphical objects and also supports extent caching. PUBLIC OPERATIONS
virtual ~Vertices() The destructor deallocates the list of coordinate pairs stored in the graphic. virtual int GetOriginal(const Coord*& x, const Coord*& y) Return pointers to the arrays of Coords stored internally that define the graphic's vertices. GetOriginal's return value reflects the size of the arrays. virtual boolean operator == (Vertices&) virtual boolean operator != (Vertices&) Compare this to the given Vertices instance and return whether they (do not) store identical sets of vertices. PROTECTED OPERATIONS
Vertices(Graphic* = nil) Vertices(Coord* x, Coord* y, int count, Graphic* = nil) The constructors are protected to disallow instantiation of the abstract class. Subclasses can pass a set of vertices to copy into internal storage and an optional graphic from which to obtain an initial set of graphics state. Vertices itself stores no addi- tional graphics state over that in the Graphic base class. void s_getExtent( float&, float&, float&, float&, float&, Graphic* ) void f_getExtent( float&, float&, float&, float&, float&, Graphic* ) Helper functions that return extent information based on the bounding box that the vertices define. s_getExtent returns an extent that accounts for the width of a brush, as would be necessary if the vertices defined a stroked path, while f_getExtent assumes that the vertices define the graphic's extremities, as would be the case if the vertices defined a filled path. These operations cache the extent they compute initially. SEE ALSO
Graphic(3U) Unidraw 2 February 1991 Vertices(3U)

Check Out this Related Man Page

lines(3U)						    InterViews Reference Manual 						 lines(3U)

NAME
Point, Line, MultiLine, S_MultiLine, SF_MultiLine - structured graphics classes for points, lines, and open polygons SYNOPSIS
#include <Unidraw/Graphic/lines.h> DESCRIPTION
Point and Line are subclasses of Graphic that draw a point and a line, respectively. MultiLine is a Vertices subclass that serves as an abstract base class for open polygons: S_MultiLine is a MultiLine subclass for stroked open polygons, while SF_MultiLine is a stroked- filled open polygon. Point, Line, and S_MultiLine store a PSBrush, while SF_MultiLine also stores a PSPattern. POINT PUBLIC OPERATIONS
Point(Coord x, Cord y, Graphic* = nil) Construct a Point object, optionally supplying a graphic from which to obtain an initial set of graphics state. void GetOriginal(Coord&, Coord&) Return the coordinates supplied in the constructor. LINE PUBLIC OPERATIONS
Line(Coord x0, Cord y0, Coord x1, Coord y1, Graphic* = nil) Construct a Line object, optionally supplying a graphic from which to obtain an initial set of graphics state. void GetOriginal(Coord& x0, Coord& y0, Coord& x1, Coord& y1) Return the line's endpoints as supplied in the constructor. MULTILINE PROTECTED OPERATIONS
MultiLine(Coord* x, Coord* y, int count, Graphic* = nil) MultiLine's constructor is protected to prevent instantiation of the abstract base class. The parameters are passed directly to the Vertices constructor. S_MULTILINE PUBLIC OPERATIONS S_MultiLine(Coord* x, Coord* y, int count, Graphic* = nil) Construct an S_MultiLine object, optionally supplying a graphic from which to obtain an initial set of graphics state. SF_MULTILINE PUBLIC OPERATIONS SF_MultiLine(Coord* x, Coord* y, int count, Graphic* = nil) Construct an SF_MultiLine object, optionally supplying a graphic from which to obtain an initial set of graphics state. SEE ALSO
Graphic(3U), Vertices(3U), pspaint(3U) Unidraw 2 February 1991 lines(3U)
Man Page