mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
f7a4f667a4
There's currently no way for an application to convert between view and drawing coordinates with a drawing states stack without keeping track of all the transformations itself, which is not very convenient for helper or library functions. Handle other spaces too, for good measure. Change-Id: Ic8404a1c111e273fff1eebf2f9f59f58246b796c Reviewed-on: https://review.haiku-os.org/c/haiku/+/5775 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> (cherry picked from commit 241f109ccbc17646932772fb9bd5b9e7c99d5d85) Reviewed-on: https://review.haiku-os.org/c/haiku/+/5787