Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

splines(3u) [debian man page]

splines(3U)						    InterViews Reference Manual 					       splines(3U)

NAME
OpenBSpline, S_OpenBSpline, F_OpenBSpline, SF_OpenBSpline, SFH_OpenBSpline, ClosedBSpline, S_ClosedBSpline, F_ClosedBSpline, SF_ClosedB- Spline, 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) Unidraw 2 February 1991 splines(3U)

Check Out this Related Man Page

Vertices(3U)						    InterViews Reference Manual 					      Vertices(3U)

NAME
Vertices - abstract base class for graphics defined by a set of coordinate pairs SYNOPSIS
#include <Unidraw/Graphic/verts.h> DESCRIPTION
Vertices is an abstract base class for graphics such as polygons and splines whose geometry is specified by a set of coordinate pairs. The Vertices class supports vertex-related operations common to all such graphical objects and also supports extent caching. PUBLIC OPERATIONS
virtual ~Vertices() The destructor deallocates the list of coordinate pairs stored in the graphic. virtual int GetOriginal(const Coord*& x, const Coord*& y) Return pointers to the arrays of Coords stored internally that define the graphic's vertices. GetOriginal's return value reflects the size of the arrays. virtual boolean operator == (Vertices&) virtual boolean operator != (Vertices&) Compare this to the given Vertices instance and return whether they (do not) store identical sets of vertices. PROTECTED OPERATIONS
Vertices(Graphic* = nil) Vertices(Coord* x, Coord* y, int count, Graphic* = nil) The constructors are protected to disallow instantiation of the abstract class. Subclasses can pass a set of vertices to copy into internal storage and an optional graphic from which to obtain an initial set of graphics state. Vertices itself stores no addi- tional graphics state over that in the Graphic base class. void s_getExtent( float&, float&, float&, float&, float&, Graphic* ) void f_getExtent( float&, float&, float&, float&, float&, Graphic* ) Helper functions that return extent information based on the bounding box that the vertices define. s_getExtent returns an extent that accounts for the width of a brush, as would be necessary if the vertices defined a stroked path, while f_getExtent assumes that the vertices define the graphic's extremities, as would be the case if the vertices defined a filled path. These operations cache the extent they compute initially. SEE ALSO
Graphic(3U) Unidraw 2 February 1991 Vertices(3U)
Man Page