Documentation ¶
Index ¶
- func Writer(w io.Writer, c *canvas.Canvas) error
- type SVG
- func (r *SVG) AddClass(class string)
- func (r *SVG) Close() error
- func (r *SVG) EmbedFonts(embedFonts bool)
- func (r *SVG) RemoveClass(class string)
- func (r *SVG) RenderImage(img image.Image, m canvas.Matrix)
- func (r *SVG) RenderPath(path *canvas.Path, style canvas.Style, m canvas.Matrix)
- func (r *SVG) RenderText(text *canvas.Text, m canvas.Matrix)
- func (r *SVG) SetImageEncoding(enc canvas.ImageEncoding)
- func (r *SVG) Size() (float64, float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SVG ¶
type SVG struct {
// contains filtered or unexported fields
}
func (*SVG) EmbedFonts ¶
func (*SVG) RemoveClass ¶
func (*SVG) RenderPath ¶
func (*SVG) SetImageEncoding ¶
func (r *SVG) SetImageEncoding(enc canvas.ImageEncoding)
Click to show internal directories.
Click to hide internal directories.