C# Class XSDDiagram.Rendering.DiagramSvgRenderer

Inheritance: XSDDiagram.Rendering.DiagramRenderer
显示文件 Open project: dgis/xsddiagram Class Usage Examples

Public Methods

Method Description
BeginItemsRender ( ) : void
DiagramSvgRenderer ( TextWriter writer ) : System
DiagramSvgRenderer ( TextWriter writer, Graphics referenceGraphics ) : System
EndItemsRender ( ) : void
Render ( Diagram diagram ) : void
Render ( DiagramItem drawingItem ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SVGEllipse ( string brush, Rectangle rect ) : void
SVGLine ( string pen, Point pt1, Point pt2 ) : void
SVGLine ( string pen, int x1, int y1, int x2, int y2 ) : void
SVGPath ( string style, string drawCommand ) : void
SVGPolygonToDrawCommand ( Point pathPoint ) : string
SVGRectangle ( string pen, Rectangle rect ) : void
SVGText ( List text, string style, Point point, float fontSize, Size size ) : void
SVGText ( string text, string style, Point point ) : void
SVGText ( string text, string style, Rectangle rect ) : void
WrapText ( Graphics g, Font font, string text, float pixels ) : List

Method Details

BeginItemsRender() public method

public BeginItemsRender ( ) : void
return void

DiagramSvgRenderer() public method

public DiagramSvgRenderer ( TextWriter writer ) : System
writer System.IO.TextWriter
return System

DiagramSvgRenderer() public method

public DiagramSvgRenderer ( TextWriter writer, Graphics referenceGraphics ) : System
writer System.IO.TextWriter
referenceGraphics System.Drawing.Graphics
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndItemsRender() public method

public EndItemsRender ( ) : void
return void

Render() public method

public Render ( Diagram diagram ) : void
diagram Diagram
return void

Render() public method

public Render ( DiagramItem drawingItem ) : void
drawingItem DiagramItem
return void