Structured graphics classes for open and closed b-splines
#include <Unidraw/Graphic/splines.h>
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_OpenBSpline 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(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 constructor.
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 subclasses.
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 constructor.
S_ClosedBSpline(Coord* x, Coord* y, int count, Graphic* = 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 subclasses.
Graphic(3U), Vertices(3U), geomobjs(3U), pspaint(3U)