splines(3U)

NAME
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_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 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 constructor.

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 subclasses.

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 constructor.

CLOSEDBSPLINE SUBCLASS PUBLIC OPERATIONS

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.

SEE ALSO
Graphic(3U), Vertices(3U), geomobjs(3U), pspaint(3U)