C# Class PixelFarm.DrawingGL.TextureFontFace

Inheritance: PixelFarm.Drawing.Fonts.FontFace
显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
GetFontAtPointsSize ( float pointSize ) : ActualFont
GetScale ( float pointSize ) : float
TextureFontFace ( FontFace nOpenTypeFontFace, string xmlFontInfo, GlyphImage glyphImg ) : System

Protected Methods

Method Description
OnDispose ( ) : void

Method Details

GetFontAtPointsSize() public method

public GetFontAtPointsSize ( float pointSize ) : ActualFont
pointSize float
return PixelFarm.Drawing.Fonts.ActualFont

GetScale() public method

public GetScale ( float pointSize ) : float
pointSize float
return float

OnDispose() protected method

protected OnDispose ( ) : void
return void

TextureFontFace() public method

public TextureFontFace ( FontFace nOpenTypeFontFace, string xmlFontInfo, GlyphImage glyphImg ) : System
nOpenTypeFontFace PixelFarm.Drawing.Fonts.FontFace
xmlFontInfo string
glyphImg PixelFarm.Drawing.Fonts.GlyphImage
return System