C# Class NOpenType.Typeface

Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Свойство Type Description
LoadOpenTypeLayoutInfo void
Typeface System.Collections.Generic

Méthodes publiques

Méthode Description
CalculateScale ( float sizeInPointUnit, int resolution = 96 ) : float
GetAdvanceWidth ( char character ) : ushort
GetAdvanceWidthFromGlyphIndex ( int glyphIndex ) : ushort
GetGlyphByIndex ( int glyphIndex ) : Glyph
GetKernDistance ( ushort leftGlyphIndex, ushort rightGlyphIndex ) : short
Lookup ( char character ) : Glyph
Lookup ( char buffer, List output ) : void
LookupIndex ( char character ) : int

Private Methods

Méthode Description
LoadOpenTypeLayoutInfo ( GDEF gdefTable, GSUB gsubTable, GPOS gposTable, BASE baseTable ) : void
Typeface ( NameEntry nameEntry, Bounds bounds, ushort unitsPerEm, Glyph glyphs, CharacterMap cmaps, HorizontalMetrics horizontalMetrics, OS2Table os2Table ) : System.Collections.Generic

Method Details

CalculateScale() public méthode

public CalculateScale ( float sizeInPointUnit, int resolution = 96 ) : float
sizeInPointUnit float
resolution int
Résultat float

GetAdvanceWidth() public méthode

public GetAdvanceWidth ( char character ) : ushort
character char
Résultat ushort

GetAdvanceWidthFromGlyphIndex() public méthode

public GetAdvanceWidthFromGlyphIndex ( int glyphIndex ) : ushort
glyphIndex int
Résultat ushort

GetGlyphByIndex() public méthode

public GetGlyphByIndex ( int glyphIndex ) : Glyph
glyphIndex int
Résultat Glyph

GetKernDistance() public méthode

public GetKernDistance ( ushort leftGlyphIndex, ushort rightGlyphIndex ) : short
leftGlyphIndex ushort
rightGlyphIndex ushort
Résultat short

Lookup() public méthode

public Lookup ( char character ) : Glyph
character char
Résultat Glyph

Lookup() public méthode

public Lookup ( char buffer, List output ) : void
buffer char
output List
Résultat void

LookupIndex() public méthode

public LookupIndex ( char character ) : int
character char
Résultat int