bounded rotate works, ish

This commit is contained in:
Will Charczuk 2016-09-05 14:03:20 -07:00
parent 8f56e5939b
commit a1835a532d
7 changed files with 60 additions and 27 deletions

View file

@ -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.