C# 클래스 FFXIVAPP.Hooker.Engine.DXFont

상속: IDisposable
파일 보기 프로젝트 열기: Icehunter/ffxivapp-hooker 1 사용 예제들

공개 메소드들

메소드 설명
DXFont ( SharpDX.Direct3D11.Device device, DeviceContext deviceContext ) : System
Dispose ( ) : void
GetCharHeight ( ) : int
GetCharRect ( char c ) : SharpDX.Rectangle
GetFontSheetSRV ( ) : SharpDX.Direct3D11.ShaderResourceView
GetSpaceWidth ( ) : int
Initialize ( string FontName, float FontSize, FontStyle FontStyle, bool AntiAliased ) : bool

비공개 메소드들

메소드 설명
BuildFontSheetBitmap ( Font font, Graphics charGraphics, Bitmap charBitmap, Graphics fontSheetGraphics ) : void
BuildFontSheetTexture ( Bitmap fontSheetBitmap ) : bool
GetCharMaxX ( Bitmap charBitmap ) : int
GetCharMinX ( Bitmap charBitmap ) : int
MeasureChars ( Font font, Graphics charGraphics ) : void

메소드 상세

DXFont() 공개 메소드

public DXFont ( SharpDX.Direct3D11.Device device, DeviceContext deviceContext ) : System
device SharpDX.Direct3D11.Device
deviceContext DeviceContext
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetCharHeight() 공개 메소드

public GetCharHeight ( ) : int
리턴 int

GetCharRect() 공개 메소드

public GetCharRect ( char c ) : SharpDX.Rectangle
c char
리턴 SharpDX.Rectangle

GetFontSheetSRV() 공개 메소드

public GetFontSheetSRV ( ) : SharpDX.Direct3D11.ShaderResourceView
리턴 SharpDX.Direct3D11.ShaderResourceView

GetSpaceWidth() 공개 메소드

public GetSpaceWidth ( ) : int
리턴 int

Initialize() 공개 메소드

public Initialize ( string FontName, float FontSize, FontStyle FontStyle, bool AntiAliased ) : bool
FontName string
FontSize float
FontStyle FontStyle
AntiAliased bool
리턴 bool