gsk: Fix texture-scale node Cairo drawing
authorBenjamin Otte <otte@redhat.com>
Fri, 27 Oct 2023 18:45:12 +0000 (20:45 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2023 19:58:53 +0000 (14:58 -0500)
commit013a06f5967edda8f7dbd274024f74ca243fab81
tree77bc3232b355712856f5925e998f4bd8c99ad776
parentb88a652567060de10ea0521ab64258e89207f725
gsk: Fix texture-scale node Cairo drawing

The code was interpreting x/y coordinates wrong sometimes and causing
things to not be drawn at the correct offset.

Testcase included.
gsk/gskrendernodeimpl.c
testsuite/gsk/compare/texture-scale-offset.node [new file with mode: 0644]
testsuite/gsk/compare/texture-scale-offset.png [new file with mode: 0644]
testsuite/gsk/meson.build