MCPcopy
hub / github.com/fogleman/ln / BoundingBox

Method BoundingBox

ln/path.go:120–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118type Paths []Path
119
120func (p Paths) BoundingBox() Box {
121 box := p[0].BoundingBox()
122 for _, path := range p {
123 box = box.Extend(path.BoundingBox())
124 }
125 return box
126}
127
128func (p Paths) Transform(matrix Matrix) Paths {
129 var result Paths

Callers

nothing calls this directly

Calls 2

ExtendMethod · 0.80
BoundingBoxMethod · 0.65

Tested by

no test coverage detected