Skia Pixel Space

hi all,

I use 512x512 Pixel space top left with two rectangles 256x256 anchor top left, and I have to move my rectangle to 2.56 for it to start in the middle of my renderer.

image

skiapixel.vl (12.2 KB)

If you want your rectangle to be 256px in size it should be 2.56 too.

image

See also the Normalized and pixel space help patch.

image

yes it was all there. tbh I saw this but in my mind did not make the connection.

While I appreciate that I can scroll faster this way (using float ioboxes), this could be intuitive without a helppatch.

Nevertheless, thank you!