]> git.eshelyaron.com Git - emacs.git/commit
Add support for image flipping
authorTimo Taipalus <timo@taipalus.cc>
Fri, 24 Jun 2022 12:44:02 +0000 (14:44 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 24 Jun 2022 12:44:02 +0000 (14:44 +0200)
commit6fbea946bfd0119cf517211d058ea277c9209a87
treec40ba632ac28587244982ce51081f330b0729c51
parentcd479aa8bd498da4d7980a7fe7a37e238761482f
Add support for image flipping

* lisp/image.el (image-map): Keybindings for flipping functions.
(image-flip-horizontally): New function that toggles image flipping
property.
(image-flip-vertically): New function that toggles image flipping
property and rotates image 180 degrees.
* src/image.c (syms_of_image): Add property.
(image_set_transform): Modify image rotation code to also horizontally
flip the image when the property is set.
* etc/NEWS: Add description.
* doc/lispref/display.texi (Image Descriptors): Document :flip
(bug#47095).
doc/lispref/display.texi
etc/NEWS
lisp/image.el
src/image.c