Versions in this module Expand all Collapse all v0 v0.0.2 Mar 5, 2022 v0.0.1 Mar 5, 2022 Changes in this version + const DPI + type Canvas struct + func New(w, h vg.Length) *Canvas + func NewTitle(w, h vg.Length, title string) *Canvas + func (c *Canvas) DrawImage(rect vg.Rectangle, img image.Image) + func (c *Canvas) Size() (w, h vg.Length) + func (e *Canvas) Fill(path vg.Path) + func (e *Canvas) FillString(fnt font.Face, pt vg.Point, str string) + func (e *Canvas) Pop() + func (e *Canvas) Push() + func (e *Canvas) Rotate(r float64) + func (e *Canvas) Scale(x, y float64) + func (e *Canvas) SetColor(c color.Color) + func (e *Canvas) SetLineDash(dashes []vg.Length, o vg.Length) + func (e *Canvas) SetLineWidth(w vg.Length) + func (e *Canvas) Stroke(path vg.Path) + func (e *Canvas) Translate(pt vg.Point) + func (e *Canvas) WriteTo(w io.Writer) (int64, error)