Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
ErrorMode ErrorMode
// contains filtered or unexported fields
}
Parser is used to parse SVG strings into drawing commands
func (*Parser) AddArcFromA ¶
AddArcFromA adds a path of an arc element to the Parser
func (*Parser) CompilePath ¶
CompilePath translates the svgPath description string and draws to the context. All valid SVG path elements are interpreted to fogleman/gg drawing commands.
func (*Parser) EllipseAt ¶
EllipseAt adds a path of an elipse centered at cx, cy of radius rx and ry to the Parser
Click to show internal directories.
Click to hide internal directories.
