Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphicSVG ¶
type GraphicSVG struct { ViewBox struct{ X, Y, W, H float64 } Name string Attributes map[string]string Children []*GraphicSVG Content string Style *GraphicSVGStyle Width float64 Height float64 // contains filtered or unexported fields }
func ParseFromFile ¶
func ParseFromFile(path string) (*GraphicSVG, error)
func ParseFromStream ¶
func ParseFromStream(source _e.Reader) (*GraphicSVG, error)
func ParseFromString ¶
func ParseFromString(svgStr string) (*GraphicSVG, error)
func (*GraphicSVG) SetScaling ¶
func (_acge *GraphicSVG) SetScaling(xFactor, yFactor float64)
func (*GraphicSVG) ToContentCreator ¶
func (_gae *GraphicSVG) ToContentCreator(cc *_f.ContentCreator, scaleX, scaleY, translateX, translateY float64) *_f.ContentCreator
type GraphicSVGStyle ¶
Click to show internal directories.
Click to hide internal directories.