C# Class Vector.Gpu.WindowsDevice

A Windows Device

A concrete class used specifically for windows.

Inheritance: Device
Exibir arquivo Open project: sinclairzx81/vector-cs

Protected Properties

Property Type Description
hdc System.IntPtr
hrc System.IntPtr
hwnd System.IntPtr
present Presentation

Public Methods

Method Description
Dispose ( ) : void
Present ( ) : void

Presents the Current OpenGL framebuffer to the drawing surface

SaveBuffer ( string filename, int x, int y, int width, int height, ImageFormat format ) : void
WindowsDevice ( IntPtr hwnd, Presentation present ) : System

Protected Methods

Method Description
Create ( ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Create() protected method

protected Create ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Present() public method

Presents the Current OpenGL framebuffer to the drawing surface
public Present ( ) : void
return void

SaveBuffer() public method

public SaveBuffer ( string filename, int x, int y, int width, int height, ImageFormat format ) : void
filename string
x int
y int
width int
height int
format System.Drawing.Imaging.ImageFormat
return void

WindowsDevice() public method

public WindowsDevice ( IntPtr hwnd, Presentation present ) : System
hwnd System.IntPtr
present Presentation
return System

Property Details

hdc protected_oe property

protected IntPtr,System hdc
return System.IntPtr

hrc protected_oe property

protected IntPtr,System hrc
return System.IntPtr

hwnd protected_oe property

protected IntPtr,System hwnd
return System.IntPtr

present protected_oe property

protected Presentation,Vector.Gpu present
return Presentation