Point, Line, MultiLine, S_MultiLine, SF_MultiLine - structured graphics classes for points, lines, and
Contents
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.
Line Public Operations
Line(Coordx0,Cordy0,Coordx1,Coordy1,Graphic*=nil)
Construct a Line object, optionally supplying a graphic from which to obtain an initial set of
graphics state.
voidGetOriginal(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,intcount,Graphic*=nil)
MultiLine's constructor is protected to prevent instantiation of the abstract base class. The
parameters are passed directly to the Vertices constructor.
Name
Point, Line, MultiLine, S_MultiLine, SF_MultiLine - structured graphics classes for points, lines, and
open polygons
Point Public Operations
Point(Coordx,Cordy,Graphic*=nil)
Construct a Point object, optionally supplying a graphic from which to obtain an initial set of
graphics state.
voidGetOriginal(Coord&,Coord&)
Return the coordinates supplied in the constructor.
S_Multiline Public Operations
S_MultiLine(Coord*x,Coord*y,intcount,Graphic*=nil)
Construct an S_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)
Sf_Multiline Public Operations
SF_MultiLine(Coord*x,Coord*y,intcount,Graphic*=nil)
Construct an SF_MultiLine object, optionally supplying a graphic from which to obtain an initial
set of graphics state.
Synopsis
#include<Unidraw/Graphic/lines.h>
See Also
🚧
Construction Sign 