My KWIN fork where I work on features like per-output virtual desktops
Find a file
Vlad Zahorodnii 99ef521e6d Add methods for converting buffer and surface coordinates
Unfortunately, in order to map a point from the surface-local coordinate
space to the buffer pixel coordinate space, one cannot divide the point
by the scale factor since the buffer might be rotated or flipped.

This change introduces a couple of helper methods for converting points,
regions, and rectangles from the surface-local coordinates to the buffer
pixel coordinates and vice versa.
2020-06-01 17:04:50 +03:00
src/wayland Add methods for converting buffer and surface coordinates 2020-06-01 17:04:50 +03:00