Documentation ¶
Overview ¶
Package vgeps implements the vg.Canvas interface using encapsulated postscript.
Index ¶
- Constants
- type Canvas
- func (c *Canvas) DrawImage(rect vg.Rectangle, img image.Image)
- 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 (c *Canvas) Size() (w, h 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)
Constants ¶
View Source
const DPI = 72
DPI is the nominal resolution of drawing in EPS.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.