Method | Description | |
---|---|---|
Arc ( float x, float y, float width, float height, float startRadians, float endRadians ) : void | ||
Bezier ( int x1, int y1, int cx1, int cy1, int cx2, int cy2, int x2, int y2 ) : void | ||
ClearToColor ( |
||
Ellipse ( int left, int top, int right, int bottom ) : void | ||
Line ( float x1, float y1, float x2, float y2 ) : void | ||
PDirect2DRenderer ( |
||
PolyLine ( |
||
Polygon ( |
||
Rectangle ( float x, float y, float width, float height ) : void | ||
Resize ( int w, int h ) : void | ||
SetBrush ( IBrush brush ) : void | ||
SetPen ( IPen pen ) : void | ||
SetPixel ( float x, float y, |
||
StrokeAndFillTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void |
Method | Description | |
---|---|---|
CreateDeviceResources ( ) : void |
This method creates the render target and associated D2D and DWrite resources
|
|
CreateFactories ( ) : void | ||
SetRenderMode ( RenderModes rm ) : void |
public Arc ( float x, float y, float width, float height, float startRadians, float endRadians ) : void | ||
x | float | |
y | float | |
width | float | |
height | float | |
startRadians | float | |
endRadians | float | |
return | void |
public Bezier ( int x1, int y1, int cx1, int cy1, int cx2, int cy2, int x2, int y2 ) : void | ||
x1 | int | |
y1 | int | |
cx1 | int | |
cy1 | int | |
cx2 | int | |
cy2 | int | |
x2 | int | |
y2 | int | |
return | void |
public Ellipse ( int left, int top, int right, int bottom ) : void | ||
left | int | |
top | int | |
right | int | |
bottom | int | |
return | void |
public Line ( float x1, float y1, float x2, float y2 ) : void | ||
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
return | void |
public PDirect2DRenderer ( |
||
winHandle | ||
return | System |
public PolyLine ( |
||
pts | ||
return | void |
public Polygon ( |
||
pts | ||
return | void |
public Rectangle ( float x, float y, float width, float height ) : void | ||
x | float | |
y | float | |
width | float | |
height | float | |
return | void |
public SetPixel ( float x, float y, |
||
x | float | |
y | float | |
c | ||
return | void |
public StrokeAndFillTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void | ||
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
x3 | float | |
y3 | float | |
return | void |