C# 클래스 QuickFont.QFontData

상속: IDisposable
파일 보기 프로젝트 열기: Pireax/neovim.cs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CharSetMapping QFontGlyph>.Dictionary
KerningPairs int>.Dictionary
Pages QuickFont.TexturePage[]
dropShadow QFont
maxGlyphHeight int
meanGlyphWidth float
naturallyMonospaced bool
scaleDueToTransformToViewport float

공개 메소드들

메소드 설명
CalculateMaxHeight ( ) : void
CalculateMeanWidth ( ) : void
Deserialize ( List input, int &pageCount, char &charSet ) : void
Dispose ( ) : void
GetKerningPairCorrection ( int index, string text, TextNode textNode ) : int

Returns the kerning length correction for the character at the given index in the given string. Also, if the text is part of a textNode list, the nextNode is given so that the following node can be checked incase of two adjacent word nodes.

GetMonoSpaceWidth ( QFontRenderOptions options ) : float
IsMonospacingActive ( QFontRenderOptions options ) : bool
Serialize ( ) : List

메소드 상세

CalculateMaxHeight() 공개 메소드

public CalculateMaxHeight ( ) : void
리턴 void

CalculateMeanWidth() 공개 메소드

public CalculateMeanWidth ( ) : void
리턴 void

Deserialize() 공개 메소드

public Deserialize ( List input, int &pageCount, char &charSet ) : void
input List
pageCount int
charSet char
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetKerningPairCorrection() 공개 메소드

Returns the kerning length correction for the character at the given index in the given string. Also, if the text is part of a textNode list, the nextNode is given so that the following node can be checked incase of two adjacent word nodes.
public GetKerningPairCorrection ( int index, string text, TextNode textNode ) : int
index int
text string
textNode TextNode
리턴 int

GetMonoSpaceWidth() 공개 메소드

public GetMonoSpaceWidth ( QFontRenderOptions options ) : float
options QFontRenderOptions
리턴 float

IsMonospacingActive() 공개 메소드

public IsMonospacingActive ( QFontRenderOptions options ) : bool
options QFontRenderOptions
리턴 bool

Serialize() 공개 메소드

public Serialize ( ) : List
리턴 List

프로퍼티 상세

CharSetMapping 공개적으로 프로퍼티

Mapping from character to glyph index
public Dictionary CharSetMapping
리턴 QFontGlyph>.Dictionary

KerningPairs 공개적으로 프로퍼티

Mapping from a pair of characters to a pixel offset
public Dictionary KerningPairs
리턴 int>.Dictionary

Pages 공개적으로 프로퍼티

List of texture pages
public TexturePage[],QuickFont Pages
리턴 QuickFont.TexturePage[]

dropShadow 공개적으로 프로퍼티

Null if no dropShadow is available
public QFont,QuickFont dropShadow
리턴 QFont

maxGlyphHeight 공개적으로 프로퍼티

The maximum glyph height
public int maxGlyphHeight
리턴 int

meanGlyphWidth 공개적으로 프로퍼티

The average glyph width
public float meanGlyphWidth
리턴 float

naturallyMonospaced 공개적으로 프로퍼티

Whether the original font (from ttf) was detected to be monospaced
public bool naturallyMonospaced
리턴 bool

scaleDueToTransformToViewport 공개적으로 프로퍼티

The font scaling due to the font being transformed to the current viewport for consistent pixel-perfect size across any resolution
public float scaleDueToTransformToViewport
리턴 float