C# Class PixelFarm.Agg.Graphics2D

Show file Open project: prepare/HTML-Renderer Class Usage Examples

Protected Properties

Property Type Description
destActualImage ActualImage
sclineRas ScanlineRasterizer

Public Methods

Method Description
Clear ( Drawing color ) : void
CreateFromImage ( ActualImage actualImage ) : ImageGraphics2D
GetClippingRect ( ) : RectInt
Render ( VertexStore vxs, Drawing c ) : void

we do NOT store vxs

Render ( VertexStoreSnap vertexSource, Drawing c ) : void

we do NOT store vxs

SetClippingRect ( RectInt rect ) : void
dbugLine ( double x1, double y1, double x2, double y2, Drawing color ) : void

Method Details

Clear() public abstract method

public abstract Clear ( Drawing color ) : void
color Drawing
return void

CreateFromImage() public static method

public static CreateFromImage ( ActualImage actualImage ) : ImageGraphics2D
actualImage ActualImage
return ImageGraphics2D

GetClippingRect() public abstract method

public abstract GetClippingRect ( ) : RectInt
return RectInt

Render() public method

we do NOT store vxs
public Render ( VertexStore vxs, Drawing c ) : void
vxs VertexStore
c Drawing
return void

Render() public abstract method

we do NOT store vxs
public abstract Render ( VertexStoreSnap vertexSource, Drawing c ) : void
vertexSource VertexStoreSnap
c Drawing
return void

SetClippingRect() public abstract method

public abstract SetClippingRect ( RectInt rect ) : void
rect RectInt
return void

dbugLine() public method

public dbugLine ( double x1, double y1, double x2, double y2, Drawing color ) : void
x1 double
y1 double
x2 double
y2 double
color Drawing
return void

Property Details

destActualImage protected property

protected ActualImage,PixelFarm.Agg destActualImage
return ActualImage

sclineRas protected property

protected ScanlineRasterizer,PixelFarm.Agg sclineRas
return ScanlineRasterizer