Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = Options{
ImageEncoding: canvas.Lossless,
}
Functions ¶
This section is empty.
Types ¶
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 ¶
func (r *PS) RenderPath(path *canvas.Path, style canvas.Style, m canvas.Matrix)
RenderPath renders a path to the canvas using a style and a transformation matrix.
func (*PS) RenderText ¶
func (r *PS) RenderText(text *canvas.Text, m canvas.Matrix)
RenderText renders a text object to the canvas using a transformation matrix.
Click to show internal directories.
Click to hide internal directories.