bounded rotate works, ish
This commit is contained in:
parent
8f56e5939b
commit
a1835a532d
7 changed files with 60 additions and 27 deletions
|
|
@ -170,7 +170,7 @@ func (vr *vectorRenderer) MeasureText(body string) (box Box) {
|
|||
if vr.c.textTheta == nil {
|
||||
return
|
||||
}
|
||||
box = box.Rotate(*vr.c.textTheta)
|
||||
box = box.BoundedRotate(*vr.c.textTheta)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue