]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 30 May 2025 10:52:01 +0000 (13:52 +0300)
commit6eea0cd5114ffc491a8bf73fd682676638f037e2
tree35dfefbf1783047993c0f3158aeace55d9cca030
parent80a03b51b2a679e944c351eadbb391abc2f196e6
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>
(cherry picked from commit 9498e2f7e1a247557cfa0f830a86c398a23c6809)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/gtk.c