Scroll to navigation

splines(3U) InterViews Reference Manual 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.

OPENBSPLINEPROTECTEDOPERATIONS

OpenBSpline(Coord* x, Coord* y, int count, Graphic* = nil)
OpenBSpline's constructor is protected to prevent instantiation of theabstract base class. The parameters are passed directly to the Vertices constructor.

OPENBSPLINESUBCLASSPUBLICOPERATIONS

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.

CLOSEDBSPLINEPROTECTEDOPERATIONS

ClosedBSpline(Coord* x, Coord* y, int count, Graphic* = nil)
ClosedBSpline's constructor is protected to prevent instantiation of theabstract base class. The parameters are passed directly to the Vertices constructor.

CLOSEDBSPLINESUBCLASSPUBLICOPERATIONS

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.

SEEALSO

Graphic(3U), Vertices(3U), geomobjs(3U), pspaint(3U)
2 February 1991 Unidraw