Méthode | 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 |
Méthode | Description | |
---|---|---|
SetupDefaultState ( ) : void |
Setup the device to be in a known good starting state. We know we want ADVANCED drawing, so that is set.
|
Méthode | Description | |
---|---|---|
GDIContext ( |
||
GDIContext ( |
||
GetWorldTransform ( ) : |
public AlphaBlend ( |
||
srcDC | ||
srcRect | ||
dstRect | ||
opacity | byte | |
Résultat | bool |
public BitBlt ( |
||
srcDC | ||
srcPoint | Point | |
dstRect | ||
dwRop | TernaryRasterOps | |
Résultat | bool |
public static CreateForAllAttachedMonitors ( ) : |
||
Résultat |
public static CreateForDefaultDisplay ( ) : |
||
Résultat |
public static CreateForDesktopBackground ( ) : |
||
Résultat |
public static CreateForDevice ( string device, string name ) : |
||
device | string | |
name | string | |
Résultat |
public static CreateForDisplay ( string displayName ) : |
||
displayName | string | |
Résultat |
public static CreateForMemory ( ) : |
||
Résultat |
public static CreateForWholeWindow ( |
||
hWnd | ||
Résultat |
public static CreateForWindowClientArea ( |
||
hWnd | ||
Résultat |
public DrawRegion ( |
||
region | ||
Résultat | void |
public FillRectangleWithBlack ( |
||
rect | ||
Résultat | void |
public FillRectangleWithWhite ( |
||
rect | ||
Résultat | void |
public FillRegion ( |
||
region | ||
aBrush | ||
Résultat | void |
public FloodFill ( int x, int y, uint colorref, FloodFillType floodtype ) : bool | ||
x | int | |
y | int | |
colorref | uint | |
floodtype | FloodFillType | |
Résultat | bool |
public FrameRegion ( |
||
region | ||
aBrush | ||
strokeSize | ||
Résultat | void |
public GetPixel ( int x, int y ) : |
||
x | int | |
y | int | |
Résultat |
public InvertRegion ( |
||
region | ||
Résultat | void |
public OffsetWindowOrigin ( int x, int y ) : void | ||
x | int | |
y | int | |
Résultat | void |
public PatBlt ( int x, int y, int width, int height, TernaryRasterOps rasterOp ) : bool | ||
x | int | |
y | int | |
width | int | |
height | int | |
rasterOp | TernaryRasterOps | |
Résultat | bool |
public PixelBlt ( |
||
srcRect | ||
dstRect | ||
pixelPtr | ||
bitsPerPixel | BitCount | |
Résultat | int |
public PlgBlt ( |
||
srcDC | ||
srcRect | ||
dstParallelogramPoints | POINT | |
hbmMask | ||
xMask | int | |
yMask | int | |
Résultat | bool |
public PolyPolyLine ( POINT points, int polypoints, int nCount ) : void | ||
points | POINT | |
polypoints | int | |
nCount | int | |
Résultat | void |
public Rectangle ( int left, int top, int right, int bottom ) : void | ||
left | int | |
top | int | |
right | int | |
bottom | int | |
Résultat | 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 | |
Résultat | void |
public SetDefaultPenColor ( |
||
colorref | ||
Résultat | void |
public SetMappingMode ( MappingModes aMode ) : void | ||
aMode | MappingModes | |
Résultat | void |
public SetPixel ( int x, int y, |
||
x | int | |
y | int | |
colorref | ||
Résultat |
public SetPolyFillMode ( PolygonFillMode fillMode ) : void | ||
fillMode | PolygonFillMode | |
Résultat | void |
public SetROP2 ( BinaryRasterOps rasOp ) : void | ||
rasOp | BinaryRasterOps | |
Résultat | void |
public SetViewportExtent ( int width, int height ) : void | ||
width | int | |
height | int | |
Résultat | void |
public SetViewportOrigin ( int x, int y ) : void | ||
x | int | |
y | int | |
Résultat | void |
public SetWindowExtent ( int width, int height ) : void | ||
width | int | |
height | int | |
Résultat | void |
public SetWindowOrigin ( int x, int y ) : void | ||
x | int | |
y | int | |
Résultat | void |
public SetWorldTransform ( |
||
aTransform | ||
Résultat | void |
public StretchBlt ( |
||
srcDC | ||
srcRect | ||
dstRect | ||
dwRop | TernaryRasterOps | |
Résultat | bool |