Class SVGWriter
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
SVGWriter()
Declaration
Fields
BoundsPad
Declaration
Field Value
DefaultArcStyle
Declaration
public SVGWriter.Style DefaultArcStyle
Field Value
DefaultCircleStyle
Declaration
public SVGWriter.Style DefaultCircleStyle
Field Value
DefaultDGraphStyle
Declaration
public SVGWriter.Style DefaultDGraphStyle
Field Value
DefaultLineStyle
Declaration
public SVGWriter.Style DefaultLineStyle
Field Value
DefaultPolygonStyle
Declaration
public SVGWriter.Style DefaultPolygonStyle
Field Value
DefaultPolylineStyle
Declaration
public SVGWriter.Style DefaultPolylineStyle
Field Value
FlipY
Declaration
Field Value
Precision
Declaration
Field Value
Methods
AddArc(Arc2d)
Declaration
public void AddArc(Arc2d arc)
Parameters
Type |
Name |
Description |
Arc2d |
arc |
|
AddArc(Arc2d, SVGWriter.Style)
Declaration
public void AddArc(Arc2d arc, SVGWriter.Style style)
Parameters
AddBox(AxisAlignedBox2d)
Declaration
public void AddBox(AxisAlignedBox2d box)
Parameters
AddBox(AxisAlignedBox2d, SVGWriter.Style)
Declaration
public void AddBox(AxisAlignedBox2d box, SVGWriter.Style style)
Parameters
AddCircle(Circle2d)
Declaration
public void AddCircle(Circle2d circle)
Parameters
AddCircle(Circle2d, SVGWriter.Style)
Declaration
public void AddCircle(Circle2d circle, SVGWriter.Style style)
Parameters
AddComplex(PlanarComplex)
Declaration
public void AddComplex(PlanarComplex complex)
Parameters
AddGraph(DGraph2)
Declaration
public void AddGraph(DGraph2 graph)
Parameters
Type |
Name |
Description |
DGraph2 |
graph |
|
AddGraph(DGraph2, SVGWriter.Style)
Declaration
public void AddGraph(DGraph2 graph, SVGWriter.Style style)
Parameters
AddLine(Segment2d)
Declaration
public void AddLine(Segment2d segment)
Parameters
AddLine(Segment2d, SVGWriter.Style)
Declaration
public void AddLine(Segment2d segment, SVGWriter.Style style)
Parameters
AddPolygon(Polygon2d)
Declaration
public void AddPolygon(Polygon2d poly)
Parameters
AddPolygon(Polygon2d, SVGWriter.Style)
Declaration
public void AddPolygon(Polygon2d poly, SVGWriter.Style style)
Parameters
AddPolyline(PolyLine2d)
Declaration
public void AddPolyline(PolyLine2d poly)
Parameters
AddPolyline(PolyLine2d, SVGWriter.Style)
Declaration
public void AddPolyline(PolyLine2d poly, SVGWriter.Style style)
Parameters
MapPt(Vector2d)
Declaration
protected virtual Vector2d MapPt(Vector2d v)
Parameters
Returns
QuickWrite(DGraph2, String, Double)
Declaration
public static void QuickWrite(DGraph2 graph, string sPath, double line_width = 1)
Parameters
QuickWrite(List<GeneralPolygon2d>, String, Double)
Declaration
public static void QuickWrite(List<GeneralPolygon2d> polygons, string sPath, double line_width = 1)
Parameters
QuickWrite(List<GeneralPolygon2d>, String, Single, List<GeneralPolygon2d>, String, Single, String)
Declaration
public static void QuickWrite(List<GeneralPolygon2d> polygons1, string color1, float width1, List<GeneralPolygon2d> polygons2, string color2, float width2, string sPath)
Parameters
SetDefaultLineWidth(Single)
Declaration
public void SetDefaultLineWidth(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Write(String)
Declaration
public IOWriteResult Write(string sFilename)
Parameters
Type |
Name |
Description |
String |
sFilename |
|
Returns