TTPOLYCURVE
The TTPOLYCURVE
structure contains information about a curve in the outline of a TrueType
character.
typedef struct tagTTPOLYCURVE { // ttpc
WORD wType;
WORD cpfx;
POINTFX
apfx[1];
} TTPOLYCURVE, FAR* LPTTPOLYCURVE;
Members
wType
Specifies the
type of curve described by the structure. This member can be one of the
following values:
Value |
Meaning |
TT_PRIM_LINE |
Curve is a
polyline. |
TT_PRIM_QSPLINE |
Curve is a
B zier spline. |
cpfx
Specifies the
number of POINTFX
apfx
Specifies an
array of POINTFX structures that define the polyline or B zier spline.
Remarks
When an
application calls the GetGlyphOutline
Polyline
records are a series of points; lines drawn between the points describe the
outline of the character. Spline records represent the quadratic curves (that
is, quadratic b-splines) used by TrueType.
See Also