Documentation
¶
Index ¶
- func RenderImageFromString(svg string, option *Options) (img image.Image, err error)
- func RenderImageWithIDFromFile(svg, id string, option *Options) (img image.Image, err error)
- func RenderPNGFromFile(svgpath, pngpath string, option *Options) error
- func RenderPNGFromString(svg, pngpath string, option *Options) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderImageFromString ¶
func RenderPNGFromFile ¶
func RenderPNGFromString ¶
Types ¶
type Options ¶
func (*Options) ResvgBackgroundColor ¶
func (o *Options) ResvgBackgroundColor() C.struct_resvg_color
func (*Options) ResvgOption ¶
func (o *Options) ResvgOption() *C.struct_resvg_options
Click to show internal directories.
Click to hide internal directories.