bounded rotate works, ish
This commit is contained in:
parent
8f56e5939b
commit
a1835a532d
7 changed files with 60 additions and 27 deletions
|
|
@ -187,7 +187,7 @@ func (rr *rasterRenderer) MeasureText(body string) Box {
|
|||
return textBox
|
||||
}
|
||||
|
||||
return textBox.Rotate(*rr.rotateRadians)
|
||||
return textBox.BoundedRotate(*rr.rotateRadians)
|
||||
}
|
||||
|
||||
// SetTextRotation sets a text rotation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue