C# Class Treefrog.Windows.Controls.GraphicsDeviceControl

Inheritance: OpenTK.GLControl
Datei anzeigen Open project: jaquadro/Treefrog

Public Methods

Method Description
GetPixel ( int x, int y ) : Microsoft.Xna.Framework.Color

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Draw ( ) : void
GraphicsDeviceControl ( ) : System
Initialize ( ) : void
OnCreateControl ( ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs pevent ) : void
PaintUsingSystemDrawing ( Graphics graphics, string text ) : void

Private Methods

Method Description
BeginDraw ( ) : string
EndDraw ( ) : void
HandleDeviceReset ( ) : string
_tkControl_Load ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Draw() protected abstract method

protected abstract Draw ( ) : void
return void

GetPixel() public method

public GetPixel ( int x, int y ) : Microsoft.Xna.Framework.Color
x int
y int
return Microsoft.Xna.Framework.Color

GraphicsDeviceControl() protected method

protected GraphicsDeviceControl ( ) : System
return System

Initialize() protected abstract method

protected abstract Initialize ( ) : void
return void

OnCreateControl() protected method

protected OnCreateControl ( ) : void
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
return void

PaintUsingSystemDrawing() protected method

protected PaintUsingSystemDrawing ( Graphics graphics, string text ) : void
graphics System.Drawing.Graphics
text string
return void