Versions in this module Expand all Collapse all v1 v1.0.2 Jan 14, 2024 v1.0.1 Jan 9, 2024 Changes in this version + var DefaultOptions = Options + type Options struct + Compress bool + SubsetFonts bool + type PDF struct + func New(w io.Writer, width, height float64, opts *Options) *PDF + func (r *PDF) Close() error + func (r *PDF) NewPage(width, height float64) + func (r *PDF) RenderImage(img image.Image, m canvas.Matrix) + func (r *PDF) RenderPath(path *canvas.Path, style canvas.Style, m canvas.Matrix) + func (r *PDF) RenderText(text *canvas.Text, m canvas.Matrix) + func (r *PDF) SetImageEncoding(enc canvas.ImageEncoding) + func (r *PDF) SetInfo(title, subject, keywords, author, creator string) + func (r *PDF) Size() (float64, float64)