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