C# Class PixelFarm.DrawingGL.TextureFont

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

Public Methods

Method Description
AssignToRequestFont ( RequestFont r ) : void
GetCacheFontAsTextureFont ( RequestFont r ) : TextureFont
GetGlyph ( char c ) : FontGlyph
GetGlyphByIndex ( uint glyphIndex ) : FontGlyph

Protected Methods

Method Description
OnDispose ( ) : void

Private Methods

Method Description
TextureFont ( TextureFontFace typeface, float sizeInPoints ) : System

Method Details

AssignToRequestFont() public method

public AssignToRequestFont ( RequestFont r ) : void
r PixelFarm.Drawing.RequestFont
return void

GetCacheFontAsTextureFont() public static method

public static GetCacheFontAsTextureFont ( RequestFont r ) : TextureFont
r PixelFarm.Drawing.RequestFont
return TextureFont

GetGlyph() public method

public GetGlyph ( char c ) : FontGlyph
c char
return PixelFarm.Drawing.Fonts.FontGlyph

GetGlyphByIndex() public method

public GetGlyphByIndex ( uint glyphIndex ) : FontGlyph
glyphIndex uint
return PixelFarm.Drawing.Fonts.FontGlyph

OnDispose() protected method

protected OnDispose ( ) : void
return void