C# Class PixelFarm.Drawing.WinGdi.GdiPlusCanvasPainter

Inheritance: PixelFarm.Agg.CanvasPainter
Exibir arquivo Open project: prepare/HTML-Renderer

Public Methods

Method Description
Clear ( System.Color color ) : void
CreateRenderVx ( VertexStoreSnap snap ) : RenderVx
DoFilterBlurRecursive ( RectInt area, int r ) : void
DoFilterBlurStack ( RectInt area, int r ) : void
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
DrawImage ( System bmp, float x, float 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

we do NOT store snap/vxs

Fill ( VertexStoreSnap snap ) : void

we do NOT store snap/vxs

FillCircle ( double x, double y, double radius ) : void
FillCircle ( double x, double y, double radius, Drawing color ) : void
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
GdiPlusCanvasPainter ( System gfxBmp ) : System
Line ( double x1, double y1, double x2, double y2 ) : void
Line ( double x1, double y1, double x2, double y2, Color color ) : void
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
SetClipBox ( int x1, int y1, int x2, int y2 ) : void

Private Methods

Method Description
CreateBmpBRGA ( ActualImage actualImage ) : System.Drawing.Bitmap
GetFreeVxs ( ) : VertexStore
ReleaseVxs ( VertexStore &vxs ) : void

Method Details

Clear() public method

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

CreateRenderVx() public method

public CreateRenderVx ( VertexStoreSnap snap ) : RenderVx
snap PixelFarm.Agg.VertexStoreSnap
return RenderVx

DoFilterBlurRecursive() public method

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

DoFilterBlurStack() public method

public DoFilterBlurStack ( RectInt area, int r ) : void
area PixelFarm.Agg.RectInt
r int
return void

Draw() public method

public Draw ( VertexStore vxs ) : void
vxs PixelFarm.Agg.VertexStore
return void

Draw() public method

public Draw ( VertexStoreSnap vxs ) : void
vxs PixelFarm.Agg.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 PixelFarm.Agg.ActualImage
return void

DrawImage() public method

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

DrawImage() public method

public DrawImage ( System bmp, float x, float y ) : void
bmp System
x float
y float
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

we do NOT store snap/vxs
public Fill ( VertexStore vxs ) : void
vxs PixelFarm.Agg.VertexStore
return void

Fill() public method

we do NOT store snap/vxs
public Fill ( VertexStoreSnap snap ) : void
snap PixelFarm.Agg.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

public FillCircle ( double x, double y, double radius, Drawing color ) : void
x double
y double
radius double
color Drawing
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 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

GdiPlusCanvasPainter() public method

public GdiPlusCanvasPainter ( System gfxBmp ) : System
gfxBmp System
return System

Line() public method

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

Line() public method

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

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