C# Class PixelFarm.DrawingGL.WinGdiFontPrinter

this use win gdi only
Inheritance: IDisposable
显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
DrawString ( CanvasGL2d canvas, string text, float x, float y ) : void
WinGdiFontPrinter ( int w, int h ) : System

Private Methods

Method Description
InitFont ( string fontName, int emHeight ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DrawString() public method

public DrawString ( CanvasGL2d canvas, string text, float x, float y ) : void
canvas CanvasGL2d
text string
x float
y float
return void

WinGdiFontPrinter() public method

public WinGdiFontPrinter ( int w, int h ) : System
w int
h int
return System