C# Class FireflyGL.Utility

Datei anzeigen Open project: LukaHorvat/Kento

Public Methods

Method Description
GetRandom ( ) : double
GetRandomF ( ) : float
LoadTextFromFile ( string Path ) : string
MakeTextBitmap ( string String, Font Font, Brush Brush ) : Bitmap
ProcessOGLErrors ( bool Process = false ) : void
RectanglePointIntersection ( Rectangle Rect, System.Vector2 Point ) : bool
StartTimer ( ) : void
StopTimer ( ) : double

Method Details

GetRandom() public static method

public static GetRandom ( ) : double
return double

GetRandomF() public static method

public static GetRandomF ( ) : float
return float

LoadTextFromFile() public static method

public static LoadTextFromFile ( string Path ) : string
Path string
return string

MakeTextBitmap() public static method

public static MakeTextBitmap ( string String, Font Font, Brush Brush ) : Bitmap
String string
Font System.Drawing.Font
Brush System.Drawing.Brush
return System.Drawing.Bitmap

ProcessOGLErrors() public static method

public static ProcessOGLErrors ( bool Process = false ) : void
Process bool
return void

RectanglePointIntersection() public static method

public static RectanglePointIntersection ( Rectangle Rect, System.Vector2 Point ) : bool
Rect Rectangle
Point System.Vector2
return bool

StartTimer() public static method

public static StartTimer ( ) : void
return void

StopTimer() public static method

public static StopTimer ( ) : double
return double