Class TStrokeCollection (unit UTTF2Vct) |
Inherits from
TList
constructor Create;
- *** TStrokeCollection ******************
destructor Destroy;
procedure EnumStrokes( Callback: TEnumStrokesCallback );
Enumerates all strokes of all glyphs
function GlyphNumStrokes( GlyphNumber: integer ): integer;
Returns the count of strokes for the glyph number GlyphNumber.
function StartOfGlyph( GlyphNumber: integer ): integer;
Returns the index of the first stroke for the glyph number GlyphNumber
procedure FreeStrokes;
function GetBounds: TRect;
function GetFontStroke( Idx: integer ): TFontStroke;
function GetNumGlyphs: integer;
property Bounds : TRect
Returns the smallest rectangle that completely bounds all glyphs
property NumGlyphs : integer
Returns the number of glyphs
property Stroke : TFontStroke
Returns the stroke number Idx.
constructor Create;
*** TStrokeCollection ******************
destructor Destroy;
procedure EnumStrokes( Callback: TEnumStrokesCallback );
Enumerates all strokes of all glyphs
function GlyphNumStrokes( GlyphNumber: integer ): integer;
Returns the count of strokes for the glyph number GlyphNumber.
function StartOfGlyph( GlyphNumber: integer ): integer;
Returns the index of the first stroke for the glyph number GlyphNumber
procedure FreeStrokes;
function GetBounds: TRect;
function GetFontStroke( Idx: integer ): TFontStroke;
function GetNumGlyphs: integer;
property Bounds : TRect
Returns the smallest rectangle that completely bounds all glyphs
property NumGlyphs : integer
Returns the number of glyphs
property Stroke : TFontStroke
Returns the stroke number Idx. Use StrartOfGlyph to determine
the index of the first stroke for a given glyph.
Use GlyphNumStrokes to determine the number of strokes a glyph is.