OpenBSpline, S_OpenBSpline, F_OpenBSpline, SF_OpenBSpline,
SFH_OpenBSpline, ClosedBSpline, S_ClosedBSpline,
F_ClosedBSpline, SF_ClosedBSpline, SFH_ClosedBSpline -
structured graphics classes for open and closed B-splines
SYNOPSIS
#include <Unidraw/Graphic/splines.h>
DESCRIPTION
OpenBSpline and ClosedBSpline are Vertices subclasses that
serve as abstract base classes for open and closed B-
spline structured graphics. Predefined subclasses include
S_OpenBSpline, F_OpenBSpline, and SF_OpenBSpline, which
draw stroked, filled, and stroked-filled open B-splines,
respectively; and S_ClosedBSpline, F_ClosedBSpline, and
SF_ClosedBSpline, which draw stroked, filled, and stroked-
filled closed B-splines, respectively. The SFH_OpenB-
Spline and SFH_ClosedBSpline subclasses are identical to
their SF_-prefixed counterparts, except they can detect
hits on their control points in addition to detecting hits
on their visible parts. The stroked subclasses store a
PSBrush, the filled subclasses store a PSPattern, and the
stroked-filled subclasses store one of each.
OPENBSPLINE PROTECTED OPERATIONS
OpenBSpline(Coord* x, Coord* y, int count, Graphic* = nil)
OpenBSpline's constructor is protected to prevent
instantiation of the abstract base class. The
parameters are passed directly to the Vertices con-
structor.
OPENBSPLINE SUBCLASS PUBLIC OPERATIONS
S_OpenBSpline(Coord* x, Coord* y, int count, Graphic* =
nil)
F_OpenBSpline(Coord* x, Coord* y, int count, Graphic* =
nil)
SF_OpenBSpline(Coord* x, Coord* y, int count, Graphic* =
nil)
SFH_OpenBSpline(Coord* x, Coord* y, int count, Graphic* =
nil)
Constructors for the various predefined Rect sub-
classes.
CLOSEDBSPLINE PROTECTED OPERATIONS
ClosedBSpline(Coord* x, Coord* y, int count, Graphic* =
nil)
ClosedBSpline's constructor is protected to prevent
instantiation of the abstract base class. The
parameters are passed directly to the Vertices con-
structor.
CLOSEDBSPLINE SUBCLASS PUBLIC OPERATIONS
nil)
F_ClosedBSpline(Coord* x, Coord* y, int count, Graphic* =
nil)
SF_ClosedBSpline(Coord* x, Coord* y, int count, Graphic* =
nil)
SFH_ClosedBSpline(Coord* x, Coord* y, int count, Graphic*
= nil)
Constructors for the various predefined Rect sub-
classes.
SEE ALSO
Graphic(3U), Vertices(3U), geomobjs(3U), pspaint(3U)
Man(1) output converted with
man2html