C# Class ManicDigger.Renderers.TextRenderer

Show file Open project: henon/manic_digger Class Usage Examples

Public Properties

Property Type Description
NewFont bool

Public Methods

Method Description
DecodeColors ( string s, Color defaultcolor ) : List
MakeTextTexture ( Text t ) : Bitmap

Private Methods

Method Description
GetColor ( int currentcolor ) : Color
GetStringPath ( string s, float emSize, RectangleF rect, Font font, StringFormat format ) : GraphicsPath
HexToInt ( char c ) : int?
NextPowerOfTwo ( uint x ) : uint

Method Details

DecodeColors() public method

public DecodeColors ( string s, Color defaultcolor ) : List
s string
defaultcolor Color
return List

MakeTextTexture() public method

public MakeTextTexture ( Text t ) : Bitmap
t Text
return System.Drawing.Bitmap

Property Details

NewFont public property

public bool NewFont
return bool