// unit returns a pdf.Unit, converted from a vg.Length. func unit(l vg.Length) pdf.Unit { return pdf.Unit(l.Points()) * pdf.Pt }