Method | Description | |
---|---|---|
AlphaBlend ( |
||
BeginPath ( ) : void | ||
BitBlt ( |
||
ClearToBlack ( ) : void | ||
ClearToWhite ( ) : void |
Fills the entire context with white pixels. This is most useful when clearing a bitmap, but it can be used for any context.
|
|
CreateForAllAttachedMonitors ( ) : |
||
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 ( |
||
DrawRegion ( |
||
EndPath ( ) : void | ||
FillPath ( ) : void | ||
FillRectangleWithBlack ( |
||
FillRectangleWithWhite ( |
Fill a particular rectangle with white pixels. Similar to the ClearToWhite call, but takes a specific Rectangle as the area to be filled.
|
|
FillRegion ( |
||
FlattenPath ( ) : void | ||
FloodFill ( int x, int y, uint colorref, FloodFillType floodtype ) : bool | ||
Flush ( ) : void | ||
FrameRegion ( |
||
GetBkColor ( ) : uint | ||
GetBkMode ( ) : int | ||
GetDCBrushColor ( ) : uint | ||
GetDCPenColor ( ) : uint | ||
GetPixel ( int x, int y ) : |
Retrieves a single pixel value from the Device Context.
|
|
GetROP2 ( ) : BinaryRasterOps | ||
InvertRegion ( |
||
LineTo ( int x, int y ) : void | ||
MoveTo ( int x, int y ) : void | ||
OffsetWindowOrigin ( int x, int y ) : void | ||
PatBlt ( int x, int y, int width, int height, TernaryRasterOps rasterOp ) : bool | ||
PixelBlt ( |
||
PlgBlt ( |
||
PolyBezierTo ( POINT pts ) : void | ||
PolyLine ( POINT points ) : void | ||
PolyLineTo ( POINT points ) : void | ||
PolyPolyLine ( POINT points, int polypoints, int nCount ) : void | ||
Rectangle ( int left, int top, int right, int bottom ) : void | ||
ReplayPath ( |
||
ResetState ( ) : void | ||
RestoreState ( int toState ) : void | ||
RoundRect ( int left, int top, int right, int bottom, int xRadius, int yRadius ) : void | ||
SaveState ( ) : void | ||
SetBkColor ( uint colorref ) : void | ||
SetBkMode ( int bkMode ) : void | ||
SetDefaultPenColor ( |
||
SetMappingMode ( MappingModes aMode ) : void | ||
SetPathAsClipRegion ( ) : void | ||
SetPixel ( int x, int y, |
||
SetPolyFillMode ( PolygonFillMode fillMode ) : void | ||
SetROP2 ( BinaryRasterOps rasOp ) : void | ||
SetViewportExtent ( int width, int height ) : void | ||
SetViewportOrigin ( int x, int y ) : void | ||
SetWindowExtent ( int width, int height ) : void | ||
SetWindowOrigin ( int x, int y ) : void | ||
SetWorldTransform ( |
||
StretchBlt ( |
||
StrokeAndFillPath ( ) : void | ||
StrokePath ( ) : 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 ( |
||
GetWorldTransform ( ) : |
public AlphaBlend ( |
||
srcDC | ||
srcRect | ||
dstRect | ||
opacity | byte | |
return | bool |
public BitBlt ( |
||
srcDC | ||
srcPoint | Point | |
dstRect | ||
dwRop | TernaryRasterOps | |
return | bool |
public static CreateForAllAttachedMonitors ( ) : |
||
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 DrawRegion ( |
||
region | ||
return | void |
public FillRectangleWithBlack ( |
||
rect | ||
return | void |
public FillRectangleWithWhite ( |
||
rect | ||
return | void |
public FillRegion ( |
||
region | ||
aBrush | ||
return | void |
public FloodFill ( int x, int y, uint colorref, FloodFillType floodtype ) : bool | ||
x | int | |
y | int | |
colorref | uint | |
floodtype | FloodFillType | |
return | bool |
public FrameRegion ( |
||
region | ||
aBrush | ||
strokeSize | ||
return | void |
public InvertRegion ( |
||
region | ||
return | void |
public OffsetWindowOrigin ( int x, int y ) : void | ||
x | int | |
y | int | |
return | void |
public PatBlt ( int x, int y, int width, int height, TernaryRasterOps rasterOp ) : bool | ||
x | int | |
y | int | |
width | int | |
height | int | |
rasterOp | TernaryRasterOps | |
return | bool |
public PixelBlt ( |
||
srcRect | ||
dstRect | ||
pixelPtr | ||
bitsPerPixel | BitCount | |
return | int |
public PlgBlt ( |
||
srcDC | ||
srcRect | ||
dstParallelogramPoints | POINT | |
hbmMask | ||
xMask | int | |
yMask | int | |
return | bool |
public PolyPolyLine ( POINT points, int polypoints, int nCount ) : void | ||
points | POINT | |
polypoints | int | |
nCount | int | |
return | void |
public Rectangle ( int left, int top, int right, int bottom ) : void | ||
left | int | |
top | int | |
right | int | |
bottom | int | |
return | void |
public RoundRect ( int left, int top, int right, int bottom, int xRadius, int yRadius ) : void | ||
left | int | |
top | int | |
right | int | |
bottom | int | |
xRadius | int | |
yRadius | int | |
return | void |
public SetDefaultPenColor ( |
||
colorref | ||
return | void |
public SetMappingMode ( MappingModes aMode ) : void | ||
aMode | MappingModes | |
return | void |
public SetPixel ( int x, int y, |
||
x | int | |
y | int | |
colorref | ||
return |
public SetPolyFillMode ( PolygonFillMode fillMode ) : void | ||
fillMode | PolygonFillMode | |
return | void |
public SetROP2 ( BinaryRasterOps rasOp ) : void | ||
rasOp | BinaryRasterOps | |
return | void |
public SetViewportExtent ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |
public SetViewportOrigin ( int x, int y ) : void | ||
x | int | |
y | int | |
return | void |
public SetWindowExtent ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |
public SetWindowOrigin ( int x, int y ) : void | ||
x | int | |
y | int | |
return | void |
public SetWorldTransform ( |
||
aTransform | ||
return | void |
public StretchBlt ( |
||
srcDC | ||
srcRect | ||
dstRect | ||
dwRop | TernaryRasterOps | |
return | bool |