VIS2 SS2013 CVD DVR
 All Classes Namespaces Functions Enumerations Properties
Public Member Functions | Static Public Member Functions | Properties | Events | List of all members
visLU.VisGraphicsDevice Class Reference

Class for creating and managing the GraphicsDevice, used by the windows forms controls implements the IGraphicsDeviceService, that is responsible for retrieving GraphicsDevice objects. More...

Inheritance diagram for visLU.VisGraphicsDevice:

Public Member Functions

void Release (bool disposing)
 Releases a reference to the VisGraphicsDevice instance. More...
 
void ResetDevice (int width, int height)
 Resets the graphics device to whichever is bigger out of the specified resolution or its current size. This behavior means the device will demand-grow to the largest of all its GraphicsDeviceControl clients. More...
 

Static Public Member Functions

static VisGraphicsDevice Add (IntPtr windowHandle, int width, int height)
 Adds a reference to the VisGraphicsDevice instance. Creates the instance, if called for first time. More...
 

Properties

GraphicsDevice GraphicsDevice [get]
 Gets the current graphics device. More...
 

Events

EventHandler< EventArgs > DeviceCreated
 
EventHandler< EventArgs > DeviceDisposing
 
EventHandler< EventArgs > DeviceReset
 
EventHandler< EventArgs > DeviceResetting
 

Detailed Description

Class for creating and managing the GraphicsDevice, used by the windows forms controls implements the IGraphicsDeviceService, that is responsible for retrieving GraphicsDevice objects.

Definition at line 16 of file VisGraphicsDevice.cs.

Member Function Documentation

static VisGraphicsDevice visLU.VisGraphicsDevice.Add ( IntPtr  windowHandle,
int  width,
int  height 
)
static

Adds a reference to the VisGraphicsDevice instance. Creates the instance, if called for first time.

Definition at line 78 of file VisGraphicsDevice.cs.

void visLU.VisGraphicsDevice.Release ( bool  disposing)

Releases a reference to the VisGraphicsDevice instance.

Definition at line 93 of file VisGraphicsDevice.cs.

void visLU.VisGraphicsDevice.ResetDevice ( int  width,
int  height 
)

Resets the graphics device to whichever is bigger out of the specified resolution or its current size. This behavior means the device will demand-grow to the largest of all its GraphicsDeviceControl clients.

Definition at line 117 of file VisGraphicsDevice.cs.

Property Documentation

GraphicsDevice visLU.VisGraphicsDevice.GraphicsDevice
get

Gets the current graphics device.

Definition at line 44 of file VisGraphicsDevice.cs.


The documentation for this class was generated from the following file: