The computeBounds() should take a transform.
This commit is contained in:
parent
2365004c9c
commit
d4e56d3b3b
1 changed files with 2 additions and 0 deletions
|
@ -585,6 +585,7 @@ proc textUber(
|
|||
|
||||
proc computeBounds*(
|
||||
arrangement: Arrangement,
|
||||
transform = mat3()
|
||||
): Rect =
|
||||
var
|
||||
fullPath = newPath()
|
||||
|
@ -632,6 +633,7 @@ proc computeBounds*(
|
|||
|
||||
fullPath.addPath(path)
|
||||
|
||||
fullPath.transform(transform)
|
||||
fullPath.computeBounds()
|
||||
|
||||
proc fillText*(
|
||||
|
|
Loading…
Reference in a new issue