TPDFlibGlyphPathCommand

Data types, fonts, vector paths

Description

Stores one move, line, curve or close operation in an extracted glyph outline

Declaration

TPDFlibGlyphPathCommand= Record
Kind: TPDFlibGlyphPathCommandKind;
Control1X: Double;
Control1Y: Double;
Control2X: Double;
Control2Y: Double;
X: Double;
Y: Double;
End;

Fields

KindSelects how the remaining coordinates are interpreted
Control1X and Control1YThe quadratic control point or first cubic control point
Control2X and Control2YThe second cubic control point
X and YThe segment endpoint, or the new contour origin for gpcMoveTo

See also

TPDFlibGlyphPathCommandKind, TPDFlibGlyphPath