C# Class PixelFarm.Agg.AggCanvasPainter

Inheritance: CanvasPainter
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
AggCanvasPainter ( ImageGraphics2D graphic2d ) : System
Clear ( Color color ) : void
CreateRenderVx ( VertexStoreSnap snap ) : RenderVx
DoFilterBlurRecursive ( RectInt area, int r ) : void
DoFilterBlurStack ( RectInt area, int r ) : void

do filter at specific area

Draw ( VertexStore vxs ) : void
Draw ( VertexStoreSnap vxs ) : void
DrawBezierCurve ( float startX, float startY, float endX, float endY, float controlX1, float controlY1, float controlX2, float controlY2 ) : void
DrawEllipse ( double left, double bottom, double right, double top ) : void
DrawImage ( ActualImage actualImage ) : void
DrawImage ( ActualImage actualImage, double x, double y ) : void
DrawRenderVx ( RenderVx renderVx ) : void
DrawRoundRect ( double left, double bottom, double right, double top, double radius ) : void
DrawString ( string text, double x, double y ) : void
Fill ( VertexStore vxs ) : void

fill vxs, we do NOT store vxs

Fill ( VertexStore vxs, ISpanGenerator spanGen ) : void

we do NOT store vxs

Fill ( VertexStoreSnap snap ) : void

fill vertex store, we do NOT store snap

FillCircle ( double x, double y, double radius ) : void
FillCircle ( double x, double y, double radius, Color color ) : void

draw circle

FillEllipse ( double left, double bottom, double right, double top ) : void
FillRectLBWH ( double left, double bottom, double width, double height ) : void
FillRectangle ( double left, double bottom, double right, double top ) : void
FillRectangle ( double left, double bottom, double right, double top, Color fillColor ) : void
FillRenderVx ( Brush brush, RenderVx renderVx ) : void
FillRenderVx ( RenderVx renderVx ) : void
FillRoundRectangle ( double left, double bottom, double right, double top, double radius ) : void
Line ( double x1, double y1, double x2, double y2 ) : void

draw line

Line ( double x1, double y1, double x2, double y2, Color color ) : void

draw line

PaintSeries ( VertexStore vxs, Color colors, int pathIndexs, int numPath ) : void
Rectangle ( double left, double bottom, double right, double top ) : void
Rectangle ( double left, double bottom, double right, double top, Color color ) : void

draw rectangle

SetClipBox ( int x1, int y1, int x2, int y2 ) : void
SetOrigin ( float x, float y ) : void

Private Methods

Method Description
GetFreeVxs ( ) : VertexStore
ReleaseVxs ( VertexStore &vxs ) : void

Method Details

AggCanvasPainter() public method

public AggCanvasPainter ( ImageGraphics2D graphic2d ) : System
graphic2d ImageGraphics2D
return System

Clear() public method

public Clear ( Color color ) : void
color Color
return void

CreateRenderVx() public method

public CreateRenderVx ( VertexStoreSnap snap ) : RenderVx
snap VertexStoreSnap
return RenderVx

DoFilterBlurRecursive() public method

public DoFilterBlurRecursive ( RectInt area, int r ) : void
area RectInt
r int
return void

DoFilterBlurStack() public method

do filter at specific area
public DoFilterBlurStack ( RectInt area, int r ) : void
area RectInt
r int
return void

Draw() public method

public Draw ( VertexStore vxs ) : void
vxs VertexStore
return void

Draw() public method

public Draw ( VertexStoreSnap vxs ) : void
vxs VertexStoreSnap
return void

DrawBezierCurve() public method

public DrawBezierCurve ( float startX, float startY, float endX, float endY, float controlX1, float controlY1, float controlX2, float controlY2 ) : void
startX float
startY float
endX float
endY float
controlX1 float
controlY1 float
controlX2 float
controlY2 float
return void

DrawEllipse() public method

public DrawEllipse ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
return void

DrawImage() public method

public DrawImage ( ActualImage actualImage ) : void
actualImage ActualImage
return void

DrawImage() public method

public DrawImage ( ActualImage actualImage, double x, double y ) : void
actualImage ActualImage
x double
y double
return void

DrawRenderVx() public method

public DrawRenderVx ( RenderVx renderVx ) : void
renderVx RenderVx
return void

DrawRoundRect() public method

public DrawRoundRect ( double left, double bottom, double right, double top, double radius ) : void
left double
bottom double
right double
top double
radius double
return void

DrawString() public method

public DrawString ( string text, double x, double y ) : void
text string
x double
y double
return void

Fill() public method

fill vxs, we do NOT store vxs
public Fill ( VertexStore vxs ) : void
vxs VertexStore
return void

Fill() public method

we do NOT store vxs
public Fill ( VertexStore vxs, ISpanGenerator spanGen ) : void
vxs VertexStore
spanGen ISpanGenerator
return void

Fill() public method

fill vertex store, we do NOT store snap
public Fill ( VertexStoreSnap snap ) : void
snap VertexStoreSnap
return void

FillCircle() public method

public FillCircle ( double x, double y, double radius ) : void
x double
y double
radius double
return void

FillCircle() public method

draw circle
public FillCircle ( double x, double y, double radius, Color color ) : void
x double
y double
radius double
color Color
return void

FillEllipse() public method

public FillEllipse ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
return void

FillRectLBWH() public method

public FillRectLBWH ( double left, double bottom, double width, double height ) : void
left double
bottom double
width double
height double
return void

FillRectangle() public method

public FillRectangle ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
return void

FillRectangle() public method

public FillRectangle ( double left, double bottom, double right, double top, Color fillColor ) : void
left double
bottom double
right double
top double
fillColor Color
return void

FillRenderVx() public method

public FillRenderVx ( Brush brush, RenderVx renderVx ) : void
brush PixelFarm.Drawing.Brush
renderVx RenderVx
return void

FillRenderVx() public method

public FillRenderVx ( RenderVx renderVx ) : void
renderVx RenderVx
return void

FillRoundRectangle() public method

public FillRoundRectangle ( double left, double bottom, double right, double top, double radius ) : void
left double
bottom double
right double
top double
radius double
return void

Line() public method

draw line
public Line ( double x1, double y1, double x2, double y2 ) : void
x1 double
y1 double
x2 double
y2 double
return void

Line() public method

draw line
public Line ( double x1, double y1, double x2, double y2, Color color ) : void
x1 double
y1 double
x2 double
y2 double
color Color
return void

PaintSeries() public method

public PaintSeries ( VertexStore vxs, Color colors, int pathIndexs, int numPath ) : void
vxs VertexStore
colors Color
pathIndexs int
numPath int
return void

Rectangle() public method

public Rectangle ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
return void

Rectangle() public method

draw rectangle
public Rectangle ( double left, double bottom, double right, double top, Color color ) : void
left double
bottom double
right double
top double
color Color
return void

SetClipBox() public method

public SetClipBox ( int x1, int y1, int x2, int y2 ) : void
x1 int
y1 int
x2 int
y2 int
return void

SetOrigin() public method

public SetOrigin ( float x, float y ) : void
x float
y float
return void