TPDFlibGlyphPathCommandKind

Data types, fonts, vector paths

Description

Identifies the operation stored in a TPDFlibGlyphPathCommand

Declaration

TPDFlibGlyphPathCommandKind= (
gpcMoveTo,
gpcLineTo,
gpcQuadraticTo,
gpcCubicTo,
gpcClosePath
);

Values

gpcMoveToStarts a contour at X, Y
gpcLineToAdds a straight segment ending at X, Y
gpcQuadraticToAdds a quadratic segment using Control1X, Control1Y and ending at X, Y
gpcCubicToUses both control points for a cubic segment and is reserved for outline formats that carry cubic curves
gpcClosePathCloses the current contour

See also

TPDFlibGlyphPathCommand, TPDFlibGlyphPath