C# Class Processing.GDI.PGDIRenderer

Inheritance: PRenderer
ファイルを表示 Open project: Wiladams/NewTOAPIA

Private Properties

Property Type Description
GetColorref NewTOAPIA.Graphics.Colorref

Public Methods

Method Description
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
Pixel ( float x, float y, color c ) : void
PolyLine ( Point2I pts ) : void
Polygon ( Point2I pts ) : void
Rectangle ( float x, float y, float width, float height ) : void
SetBrush ( IBrush brush ) : void
SetPen ( IPen pen ) : void
StrokeAndFillTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void

Private Methods

Method Description
GetColorref ( color c ) : Colorref

Method Details

Bezier() public method

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

ClearToColor() public method

public ClearToColor ( color c ) : void
c color
return void

Ellipse() public method

public Ellipse ( int left, int top, int right, int bottom ) : void
left int
top int
right int
bottom int
return void

Line() public method

public Line ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
return void

PGDIRenderer() public method

public PGDIRenderer ( GDIContext gdi ) : System
gdi NewTOAPIA.Drawing.GDI.GDIContext
return System

Pixel() public method

public Pixel ( float x, float y, color c ) : void
x float
y float
c color
return void

PolyLine() public method

public PolyLine ( Point2I pts ) : void
pts NewTOAPIA.Graphics.Point2I
return void

Polygon() public method

public Polygon ( Point2I pts ) : void
pts NewTOAPIA.Graphics.Point2I
return void

Rectangle() public method

public Rectangle ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

SetBrush() public method

public SetBrush ( IBrush brush ) : void
brush IBrush
return void

SetPen() public method

public SetPen ( IPen pen ) : void
pen IPen
return void

StrokeAndFillTriangle() public method

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