Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = Options{ ImageEncoding: canvas.Lossless, }
Functions ¶
Types ¶
type Options ¶
type Options struct { Format canvas.ImageEncoding }
type PS ¶
type PS struct {
// contains filtered or unexported fields
}
PS is an PostScript renderer. Be aware that PostScript does not support transparency of colors.
func (*PS) RenderImage ¶
RenderImage renders an image to the canvas using a transformation matrix.
func (*PS) RenderPath ¶
RenderPath renders a path to the canvas using a style and a transformation matrix.
func (*PS) RenderText ¶
RenderText renders a text object to the canvas using a transformation matrix.
Click to show internal directories.
Click to hide internal directories.