C# 클래스 NOpenType.Typeface

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

Private Properties

프로퍼티 타입 설명
LoadOpenTypeLayoutInfo void
Typeface System.Collections.Generic

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

CalculateScale() 공개 메소드

public CalculateScale ( float sizeInPointUnit, int resolution = 96 ) : float
sizeInPointUnit float
resolution int
리턴 float

GetAdvanceWidth() 공개 메소드

public GetAdvanceWidth ( char character ) : ushort
character char
리턴 ushort

GetAdvanceWidthFromGlyphIndex() 공개 메소드

public GetAdvanceWidthFromGlyphIndex ( int glyphIndex ) : ushort
glyphIndex int
리턴 ushort

GetGlyphByIndex() 공개 메소드

public GetGlyphByIndex ( int glyphIndex ) : Glyph
glyphIndex int
리턴 Glyph

GetKernDistance() 공개 메소드

public GetKernDistance ( ushort leftGlyphIndex, ushort rightGlyphIndex ) : short
leftGlyphIndex ushort
rightGlyphIndex ushort
리턴 short

Lookup() 공개 메소드

public Lookup ( char character ) : Glyph
character char
리턴 Glyph

Lookup() 공개 메소드

public Lookup ( char buffer, List output ) : void
buffer char
output List
리턴 void

LookupIndex() 공개 메소드

public LookupIndex ( char character ) : int
character char
리턴 int