C# Класс Processing.PDirect2DRenderer

Наследование: PRenderer
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( color c ) : void
Ellipse ( int left, int top, int right, int bottom ) : void
Line ( float x1, float y1, float x2, float y2 ) : void
PDirect2DRenderer ( IntPtr winHandle ) : System
PolyLine ( Point2I pts ) : void
Polygon ( Point2I pts ) : void
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, color c ) : void
StrokeAndFillTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void

Приватные методы

Метод Описание
CreateDeviceResources ( ) : void

This method creates the render target and associated D2D and DWrite resources

CreateFactories ( ) : void
SetRenderMode ( RenderModes rm ) : void

Описание методов

Arc() публичный Метод

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
Результат void

Bezier() публичный Метод

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
Результат void

ClearToColor() публичный Метод

public ClearToColor ( color c ) : void
c color
Результат void

Ellipse() публичный Метод

public Ellipse ( int left, int top, int right, int bottom ) : void
left int
top int
right int
bottom int
Результат void

Line() публичный Метод

public Line ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
Результат void

PDirect2DRenderer() публичный Метод

public PDirect2DRenderer ( IntPtr winHandle ) : System
winHandle System.IntPtr
Результат System

PolyLine() публичный Метод

public PolyLine ( Point2I pts ) : void
pts NewTOAPIA.Graphics.Point2I
Результат void

Polygon() публичный Метод

public Polygon ( Point2I pts ) : void
pts NewTOAPIA.Graphics.Point2I
Результат void

Rectangle() публичный Метод

public Rectangle ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Результат void

Resize() публичный Метод

public Resize ( int w, int h ) : void
w int
h int
Результат void

SetBrush() публичный Метод

public SetBrush ( IBrush brush ) : void
brush IBrush
Результат void

SetPen() публичный Метод

public SetPen ( IPen pen ) : void
pen IPen
Результат void

SetPixel() публичный Метод

public SetPixel ( float x, float y, color c ) : void
x float
y float
c color
Результат void

StrokeAndFillTriangle() публичный Метод

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
Результат void