summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2020-01-17 16:14:41 +0100
committerPaolo Borelli <pborelli@gnome.org>2020-01-20 09:17:48 +0100
commit6b8b5c2df21091c83188fc2e1770297e954e5e25 (patch)
tree3cdcb472682a5ff304c1035436a39ed233ae64f1 /tests
parent463e49da3d79bfb4113122b4458e4f41af1b8e94 (diff)
downloadlibrsvg-6b8b5c2df21091c83188fc2e1770297e954e5e25.tar.gz
transform: implement our own Transform type
Use our own Transform type, rather than cairo::Matrix. Beside paving the way to other rendering backends, using our own type has the benefit of not having to cross the ffi boundary for every transformation and also allows us to have a nicer api. The code matches the conventions of cairo::Matrix (eg the internal representation), but for the API I also checked euclid::Transform2D and resvg's Transform type, and where possible makes things more clear and ergonomic (explicit pre_ and post_ variants for each method, chainable methods). Note: the filters-composite-02-b reftest differs by one pixel, I am assuming this is a rounding issue and hence I am updating the reference image.
Diffstat (limited to 'tests')
-rw-r--r--tests/fixtures/reftests/svg1.1/filters-composite-02-b-ref.pngbin15917 -> 15922 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/fixtures/reftests/svg1.1/filters-composite-02-b-ref.png b/tests/fixtures/reftests/svg1.1/filters-composite-02-b-ref.png
index 43492334..4d43318f 100644
--- a/tests/fixtures/reftests/svg1.1/filters-composite-02-b-ref.png
+++ b/tests/fixtures/reftests/svg1.1/filters-composite-02-b-ref.png
Binary files differ