C# 클래스 Fuji.Font

파일 보기 프로젝트 열기: TurkeyMan/fuji

공개 메소드들

메소드 설명
BlitText ( string text, int x, int y, MFVector colour, int maxChars = -1 ) : int
CharacterPos ( string text, int charIndex, float height ) : MFVector
CharacterWidth ( char character ) : float
Create ( string name ) : Font
DrawText ( string text, MFVector &pos, float height, MFVector &colour, int maxChars, MFMatrix ltw ) : float
DrawText2 ( string text, float x, float y, float height, MFVector &colour, int maxChars, MFMatrix ltw ) : float
DrawTextAnchored ( string text, MFVector pos, MFFontJustify justification, float lineWidth, float textHeight, MFVector colour, int numChars, MFMatrix ltw ) : float
DrawTextJustified ( string text, MFVector pos, float boxWidth, float boxHeight, MFFontJustify justification, float textHeight, MFVector colour, int numChars, MFMatrix ltw ) : float
Release ( ) : int
StringWidth ( string text, float height, float lineWidth, float &totalHeight, int maxLen = -1 ) : float

비공개 메소드들

메소드 설명
Font ( UIntPtr handle ) : System
MFFont_BlitText ( UIntPtr font, int x, int y, MFVector &colour, [ text, int maxChars ) : int
MFFont_Create ( [ name ) : UIntPtr
MFFont_DrawText ( UIntPtr font, MFVector &pos, float height, MFVector &colour, [ text, int maxChars, MFMatrix &ltw ) : float
MFFont_DrawText2 ( UIntPtr font, float x, float y, float height, MFVector &colour, [ text, int maxChars, MFMatrix &ltw ) : float
MFFont_DrawTextAnchored ( UIntPtr font, [ text, MFVector &pos, MFFontJustify justification, float lineWidth, float textHeight, MFVector &colour, int numChars, MFMatrix &ltw ) : float
MFFont_DrawTextJustified ( UIntPtr font, [ text, MFVector &pos, float boxWidth, float boxHeight, MFFontJustify justification, float textHeight, MFVector &colour, int numChars, MFMatrix &ltw ) : float
MFFont_GetCharPos ( UIntPtr font, [ text, int charIndex, float height ) : MFVector
MFFont_GetCharacterWidth ( UIntPtr font, int character ) : float
MFFont_GetDebugFont ( ) : UIntPtr
MFFont_GetFontHeight ( UIntPtr font ) : float
MFFont_GetStringWidth ( UIntPtr font, [ text, float height, float lineWidth, int maxLen, float &totalHeight ) : float
MFFont_Release ( UIntPtr font ) : int

메소드 상세

BlitText() 공개 메소드

public BlitText ( string text, int x, int y, MFVector colour, int maxChars = -1 ) : int
text string
x int
y int
colour MFVector
maxChars int
리턴 int

CharacterPos() 공개 메소드

public CharacterPos ( string text, int charIndex, float height ) : MFVector
text string
charIndex int
height float
리턴 MFVector

CharacterWidth() 공개 메소드

public CharacterWidth ( char character ) : float
character char
리턴 float

Create() 공개 정적인 메소드

public static Create ( string name ) : Font
name string
리턴 Font

DrawText() 공개 메소드

public DrawText ( string text, MFVector &pos, float height, MFVector &colour, int maxChars, MFMatrix ltw ) : float
text string
pos MFVector
height float
colour MFVector
maxChars int
ltw MFMatrix
리턴 float

DrawText2() 공개 메소드

public DrawText2 ( string text, float x, float y, float height, MFVector &colour, int maxChars, MFMatrix ltw ) : float
text string
x float
y float
height float
colour MFVector
maxChars int
ltw MFMatrix
리턴 float

DrawTextAnchored() 공개 메소드

public DrawTextAnchored ( string text, MFVector pos, MFFontJustify justification, float lineWidth, float textHeight, MFVector colour, int numChars, MFMatrix ltw ) : float
text string
pos MFVector
justification MFFontJustify
lineWidth float
textHeight float
colour MFVector
numChars int
ltw MFMatrix
리턴 float

DrawTextJustified() 공개 메소드

public DrawTextJustified ( string text, MFVector pos, float boxWidth, float boxHeight, MFFontJustify justification, float textHeight, MFVector colour, int numChars, MFMatrix ltw ) : float
text string
pos MFVector
boxWidth float
boxHeight float
justification MFFontJustify
textHeight float
colour MFVector
numChars int
ltw MFMatrix
리턴 float

Release() 공개 메소드

public Release ( ) : int
리턴 int

StringWidth() 공개 메소드

public StringWidth ( string text, float height, float lineWidth, float &totalHeight, int maxLen = -1 ) : float
text string
height float
lineWidth float
totalHeight float
maxLen int
리턴 float