ULabel(3U) InterViews Reference Manual ULabel(3U)NAME
ULabel - structured graphic displaying one line of text
SYNOPSIS
#include <Unidraw/Graphic/label.h>
DESCRIPTION
A ULabel is a Graphic that displays one line of text. It stores a PSFont to define the font in which the text appears. With no transfor-
mation, the text will be drawn with its bounding box's lower-left corner at the origin.
PUBLIC OPERATIONS
ULabel(const char* text, Graphic* = nil)
Construct a label, supplying a null-terminated string in text and an optional graphic from which to obtain an initial set of graph-
ics state. ULabel stores a copy text internally.
const char* GetOriginal()
Return a pointer to the text that the label stores internally.
SEE ALSO Graphic(3U), pspaint(3U)Unidraw 1 February 1991 ULabel(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)