C# Class NewTOAPIA.Drawing.GDIInfoContext

Inheritance: System.Runtime.InteropServices.SafeHandle
Afficher le fichier Open project: Wiladams/NewTOAPIA Class Usage Examples

Méthodes publiques

Méthode Description
CreateInfoForDevice ( string device, string name ) : GDIInfoContext
GetDeviceCaps ( int nIndex ) : int
SetGraphicsMode ( int mode ) : void

Méthodes protégées

Méthode Description
ReleaseHandle ( ) : bool
SetupDefaultState ( ) : void

Setup the device to be in a known good starting state. We know we want ADVANCED drawing, so that is set.

Private Methods

Méthode Description
GDIInfoContext ( GDIContext aDC ) : System
GDIInfoContext ( IntPtr hDC, bool ownHandle ) : System

Method Details

CreateInfoForDevice() public static méthode

public static CreateInfoForDevice ( string device, string name ) : GDIInfoContext
device string
name string
Résultat GDIInfoContext

GetDeviceCaps() public méthode

public GetDeviceCaps ( int nIndex ) : int
nIndex int
Résultat int

ReleaseHandle() protected méthode

protected ReleaseHandle ( ) : bool
Résultat bool

SetGraphicsMode() public méthode

public SetGraphicsMode ( int mode ) : void
mode int
Résultat void

SetupDefaultState() protected méthode

Setup the device to be in a known good starting state. We know we want ADVANCED drawing, so that is set.
protected SetupDefaultState ( ) : void
Résultat void