]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/gtk: Document scale and coordinate handling
authorWeifeng Liu <weifeng.liu.z@gmail.com>
Sun, 11 May 2025 07:33:11 +0000 (15:33 +0800)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 24 May 2025 15:02:29 +0000 (17:02 +0200)
commit9498e2f7e1a247557cfa0f830a86c398a23c6809
tree2de513d78ec0b660d3846c74b2329a5f244d1338
parent42000e0013709f21b54f71b63525c22cb6b92d5d
ui/gtk: Document scale and coordinate handling

The existence of multiple scaling factors forces us to deal with various
coordinate systems and this would be confusing. It would be beneficial
to define the concepts clearly and use consistent representation for
variables in different coordinates.

Signed-off-by: Weifeng Liu <weifeng.liu.z@gmail.com>
Message-ID: <20250511073337.876650-2-weifeng.liu.z@gmail.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
ui/gtk.c