C# Class Flood.GUI.GlyphManager

Show file Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
GetKerning ( Font font, int c1, int c2 ) : System.Vector2
GlyphManager ( ) : System
TryGetGlyphImage ( Font font, int codepoint, SubTexture &texture, ResourceHandle &material ) : bool
TryGetGlyphInfo ( Font font, int codepoint, Glyph &glyph ) : bool

Method Details

GetKerning() public method

public GetKerning ( Font font, int c1, int c2 ) : System.Vector2
font Font
c1 int
c2 int
return System.Vector2

GlyphManager() public method

public GlyphManager ( ) : System
return System

TryGetGlyphImage() public method

public TryGetGlyphImage ( Font font, int codepoint, SubTexture &texture, ResourceHandle &material ) : bool
font Font
codepoint int
texture SubTexture
material ResourceHandle
return bool

TryGetGlyphInfo() public method

public TryGetGlyphInfo ( Font font, int codepoint, Glyph &glyph ) : bool
font Font
codepoint int
glyph Glyph
return bool