C# Class PixelFarm.Drawing.WinGdi.VxsHelper

Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
CreateGraphicsPath ( VertexStore vxs ) : GraphicsPath
CreateGraphicsPath ( VertexStoreSnap vxsSnap ) : GraphicsPath

we do NOT store vxsSnap

DrawPath ( Graphics g, System p, Color c ) : void
DrawVxsSnap ( Graphics g, VertexStoreSnap vxsSnap, Color c ) : void
FillPath ( Graphics g, System p, Color c ) : void
FillVxsSnap ( Graphics g, VertexStoreSnap vxsSnap, Color c ) : void
ToDrawingColor ( Color c ) : Color

Method Details

CreateGraphicsPath() public static method

public static CreateGraphicsPath ( VertexStore vxs ) : GraphicsPath
vxs PixelFarm.Agg.VertexStore
return System.Drawing.Drawing2D.GraphicsPath

CreateGraphicsPath() public static method

we do NOT store vxsSnap
public static CreateGraphicsPath ( VertexStoreSnap vxsSnap ) : GraphicsPath
vxsSnap PixelFarm.Agg.VertexStoreSnap
return System.Drawing.Drawing2D.GraphicsPath

DrawPath() public static method

public static DrawPath ( Graphics g, System p, Color c ) : void
g System.Drawing.Graphics
p System
c Color
return void

DrawVxsSnap() public static method

public static DrawVxsSnap ( Graphics g, VertexStoreSnap vxsSnap, Color c ) : void
g System.Drawing.Graphics
vxsSnap PixelFarm.Agg.VertexStoreSnap
c Color
return void

FillPath() public static method

public static FillPath ( Graphics g, System p, Color c ) : void
g System.Drawing.Graphics
p System
c Color
return void

FillVxsSnap() public static method

public static FillVxsSnap ( Graphics g, VertexStoreSnap vxsSnap, Color c ) : void
g System.Drawing.Graphics
vxsSnap PixelFarm.Agg.VertexStoreSnap
c Color
return void

ToDrawingColor() public static method

public static ToDrawingColor ( Color c ) : Color
c Color
return System.Drawing.Color