]> git.eshelyaron.com Git - emacs.git/commit
Fix image_set_crop yet again
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 7 Jun 2019 08:43:39 +0000 (17:43 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 7 Jun 2019 08:44:03 +0000 (17:44 +0900)
commit3a1f92d09bbcb4dbd2a2ebe1bee0e564e51c4615
tree4cd1df5cfb0d4a546854ca385cdf508803b480e6
parent480da9f2216d16fb30f42e7e2e40774cf2ea48b7
Fix image_set_crop yet again

* src/image.c (image_set_crop) [HAVE_NATIVE_TRANSFORMS]: Don't call
compute_image_size, as it is already called from image_set_size.
(image_set_size, image_set_crop) [HAVE_NATIVE_TRANSFORMS]: Use harmless
matrix transformation code also for USE_CAIRO and HAVE_NTGUI cases,
though image_set_transform is not yet implemented on them.
src/image.c