Versions in this module Expand all Collapse all v0 v0.3.16 Dec 11, 2023 v0.3.15 Dec 11, 2023 v0.3.14 Dec 11, 2023 Changes in this version + type Point struct + X float64 + Y float64 + func (p *Point) Translate(dx, dy float64) + func (p Point) String() string + type Rectangle struct + LL Point + UR Point + func NewRectangle(llx, lly, urx, ury float64) *Rectangle + func (r Rectangle) AspectRatio() float64 + func (r Rectangle) Center() Point + func (r Rectangle) Contains(p Point) bool + func (r Rectangle) Height() float64 + func (r Rectangle) Landscape() bool + func (r Rectangle) Portrait() bool + func (r Rectangle) ShortString() string + func (r Rectangle) String() string + func (r Rectangle) Width() float64 Other modules containing this package github.com/jbartelli/pdfcpu/v2