C# Class PixelFarm.DrawingGL.GLCanvasPainterBase

Inheritance: PixelFarm.Agg.CanvasPainter
Mostra file Open project: prepare/HTML-Renderer

Protected Properties

Property Type Description
_canvas CanvasGL2d

Public Methods

Method Description
Clear ( Color color ) : void
CreatePolygonRenderVx ( float xycoords ) : RenderVx
CreateRenderVx ( VertexStoreSnap snap ) : RenderVx
DoFilterBlurRecursive ( RectInt area, int r ) : void
DoFilterBlurStack ( RectInt area, int r ) : void
Draw ( VertexStore vxs ) : void

we do NOT store vxs

Draw ( VertexStoreSnap snap ) : void
DrawArc ( float fromX, float fromY, float endX, float endY, float xaxisRotationAngleDec, float rx, float ry, SvgArcSize arcSize, SvgArcSweep arcSweep ) : void
DrawBezierCurve ( float startX, float startY, float endX, float endY, float controlX1, float controlY1, float controlX2, float controlY2 ) : void
DrawCircle ( float x, float y, double radius ) : 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
DrawRoundRect ( float x, float y, float w, float h, float rx, float ry ) : void
DrawString ( string text, double x, double y ) : void
Fill ( VertexStore vxs ) : void
Fill ( VertexStoreSnap snap ) : void
FillCircle ( double x, double y, double radius ) : void
FillCircle ( double x, double y, double radius, Color 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
FillRoundRect ( Color color, float x, float y, float w, float h, float rx, float ry ) : void
FillRoundRectangle ( double left, double bottom, double right, double top, double radius ) : void
GLCanvasPainterBase ( CanvasGL2d canvas, int w, int h ) : 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

Protected Methods

Method Description
FillRect ( float x, float y, float w, float h ) : void
ReleaseVxs ( VertexStore &vxs ) : void

Private Methods

Method Description
ComputeArc ( double x0, double y0, double rx, double ry, double angle, bool largeArcFlag, bool sweepFlag, double x, double y ) : Arc
ComputeArc2 ( double x0, double y0, double rx, double ry, double xAngleRad, bool largeArcFlag, bool sweepFlag, double x, double y, CenterFormArc &result ) : void
CreateRectTessCoordsTriStrip ( float x, float y, float w, float h ) : float[]
DegToRad ( double degree ) : double
GetFreeVxs ( ) : VertexStore
RadToDeg ( double degree ) : double
SetCurrentTextureFont ( TextureFont textureFont ) : void

Method Details

Clear() public method

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

CreatePolygonRenderVx() public method

public CreatePolygonRenderVx ( float xycoords ) : RenderVx
xycoords float
return RenderVx

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

we do NOT store vxs
public Draw ( VertexStore vxs ) : void
vxs PixelFarm.Agg.VertexStore
return void

Draw() public method

public Draw ( VertexStoreSnap snap ) : void
snap PixelFarm.Agg.VertexStoreSnap
return void

DrawArc() public method

public DrawArc ( float fromX, float fromY, float endX, float endY, float xaxisRotationAngleDec, float rx, float ry, SvgArcSize arcSize, SvgArcSweep arcSweep ) : void
fromX float
fromY float
endX float
endY float
xaxisRotationAngleDec float
rx float
ry float
arcSize SvgArcSize
arcSweep SvgArcSweep
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

DrawCircle() public method

public DrawCircle ( float x, float y, double radius ) : void
x float
y float
radius double
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

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

DrawRoundRect() public method

public DrawRoundRect ( float x, float y, float w, float h, float rx, float ry ) : void
x float
y float
w float
h float
rx float
ry float
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

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

Fill() public method

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, 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

FillRect() protected method

protected FillRect ( float x, float y, float w, float h ) : void
x float
y float
w float
h float
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

FillRoundRect() public method

public FillRoundRect ( Color color, float x, float y, float w, float h, float rx, float ry ) : void
color Color
x float
y float
w float
h float
rx float
ry float
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

GLCanvasPainterBase() public method

public GLCanvasPainterBase ( CanvasGL2d canvas, int w, int h ) : System
canvas CanvasGL2d
w int
h int
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 PixelFarm.Agg.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

ReleaseVxs() protected method

protected ReleaseVxs ( VertexStore &vxs ) : void
vxs PixelFarm.Agg.VertexStore
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

Property Details

_canvas protected_oe property

protected CanvasGL2d,PixelFarm.DrawingGL _canvas
return CanvasGL2d