Post
At minimum, you have a screen coordinate space (which is almost never what you want to use), a window coordinate space, and a Compose root coordinate space. Each of those can be measured in dps or pixels, and sometimes it matters if those pixels are integers or floats.
0 reposts2 likes
Mental translation between different coordinate spaces is tough. I somehow keep running into this problem in every other project. I wrote this while dealing with multiple windows in cascade: github.com/saket/cascad...