C# Class Processing.PGDIRenderer

Inheritance: PRenderer
Afficher le fichier Open project: Wiladams/NewTOAPIA

Private Properties

Свойство Type Description
GetColorref NewTOAPIA.Graphics.Colorref

Méthodes publiques

Méthode 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 ( color c ) : void
Ellipse ( int left, int top, int right, int bottom ) : void
Line ( float x1, float y1, float x2, float y2 ) : void
PGDIRenderer ( GDIContext gdi ) : 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

Private Methods

Méthode Description
GetColorref ( color c ) : Colorref

Method Details

Arc() public méthode

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
Résultat void

Bezier() public méthode

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
Résultat void

ClearToColor() public méthode

public ClearToColor ( color c ) : void
c color
Résultat void

Ellipse() public méthode

public Ellipse ( int left, int top, int right, int bottom ) : void
left int
top int
right int
bottom int
Résultat void

Line() public méthode

public Line ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
Résultat void

PGDIRenderer() public méthode

public PGDIRenderer ( GDIContext gdi ) : System
gdi NewTOAPIA.Drawing.GDI.GDIContext
Résultat System

PolyLine() public méthode

public PolyLine ( Point2I pts ) : void
pts NewTOAPIA.Graphics.Point2I
Résultat void

Polygon() public méthode

public Polygon ( Point2I pts ) : void
pts NewTOAPIA.Graphics.Point2I
Résultat void

Rectangle() public méthode

public Rectangle ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

Resize() public méthode

public Resize ( int w, int h ) : void
w int
h int
Résultat void

SetBrush() public méthode

public SetBrush ( IBrush brush ) : void
brush IBrush
Résultat void

SetPen() public méthode

public SetPen ( IPen pen ) : void
pen IPen
Résultat void

SetPixel() public méthode

public SetPixel ( float x, float y, color c ) : void
x float
y float
c color
Résultat void

StrokeAndFillTriangle() public méthode

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
Résultat void