Versions in this module Expand all Collapse all v0 v0.0.2 Jun 26, 2022 v0.0.1 Jun 21, 2022 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)