Method | Description | |
---|---|---|
CreateBrush ( BrushStyle aStyle, HatchStyle hatch, |
||
CreateForAllAttachedMonitors ( ) : |
||
CreateForBitmap ( |
||
CreateForDefaultDisplay ( ) : |
||
CreateForDesktopBackground ( ) : |
Create a GDIContext so that drawing to the desktop can occur. On Vista, the drawing will be behind all windows, but will draw on top of any icons on the actual desktop. For Windows XP, the drawing will be behind those icons as well.
|
|
CreateForDevice ( string device, string name ) : |
||
CreateForDisplay ( string displayName ) : |
||
CreateForMemory ( ) : |
||
CreateForWholeWindow ( |
||
CreateForWindowClientArea ( |
||
CreatePen ( PenType aType, PenStyle aStyle, PenJoinStyle aJoinStyle, PenEndCap aEndCap, |
||
Flush ( ) : void | ||
GetBkColor ( ) : uint | ||
GetBkMode ( ) : int | ||
GetDCBrushColor ( ) : uint | ||
GetDCPenColor ( ) : uint | ||
GetROP2 ( ) : BinaryRasterOps | ||
ResetState ( ) : void | ||
RestoreState ( int toState ) : void | ||
SaveState ( ) : void | ||
SelectObject ( |
||
SelectObject ( SafeHandle objectHandle ) : |
||
SelectStockObject ( int objectIndex ) : void | ||
SetBkColor ( uint colorref ) : void | ||
SetBkMode ( int bkMode ) : void | ||
SetDefaultPenColor ( |
||
SetMappingMode ( MappingModes aMode ) : void | ||
SetPolyFillMode ( PolygonFillMode fillMode ) : void | ||
SetROP2 ( BinaryRasterOps rasOp ) : void |
Method | Description | |
---|---|---|
SetupDefaultState ( ) : void |
Setup the device to be in a known good starting state. We know we want ADVANCED drawing, so that is set.
|
Method | Description | |
---|---|---|
GDIContext ( |
||
GDIContext ( |
public CreateBrush ( BrushStyle aStyle, HatchStyle hatch, |
||
aStyle | BrushStyle | |
hatch | HatchStyle | |
colorref | ||
uniqueID | System.Guid | |
return |
public static CreateForAllAttachedMonitors ( ) : |
||
return |
public static CreateForBitmap ( |
||
aPixMap | ||
return |
public static CreateForDefaultDisplay ( ) : |
||
return |
public static CreateForDesktopBackground ( ) : |
||
return |
public static CreateForDevice ( string device, string name ) : |
||
device | string | |
name | string | |
return |
public static CreateForDisplay ( string displayName ) : |
||
displayName | string | |
return |
public static CreateForMemory ( ) : |
||
return |
public static CreateForWholeWindow ( |
||
hWnd | ||
return |
public static CreateForWindowClientArea ( |
||
hWnd | ||
return |
public CreatePen ( PenType aType, PenStyle aStyle, PenJoinStyle aJoinStyle, PenEndCap aEndCap, |
||
aType | PenType | |
aStyle | PenStyle | |
aJoinStyle | PenJoinStyle | |
aEndCap | PenEndCap | |
colorref | ||
width | int | |
uniqueID | System.Guid | |
return |
public SelectObject ( |
||
objectHandle | ||
return |
public SelectObject ( SafeHandle objectHandle ) : |
||
objectHandle | SafeHandle | |
return |
public SelectStockObject ( int objectIndex ) : void | ||
objectIndex | int | |
return | void |
public SetDefaultPenColor ( |
||
colorref | ||
return | void |
public SetMappingMode ( MappingModes aMode ) : void | ||
aMode | MappingModes | |
return | void |
public SetPolyFillMode ( PolygonFillMode fillMode ) : void | ||
fillMode | PolygonFillMode | |
return | void |
public SetROP2 ( BinaryRasterOps rasOp ) : void | ||
rasOp | BinaryRasterOps | |
return | void |