summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorDavid Ponce <da_vid@orange.fr>2024-03-30 13:59:41 +0100
committerEli Zaretskii <eliz@gnu.org>2024-03-30 16:35:11 +0300
commitcc212ea314d45c98761ae7f68600ad8bf799ea36 (patch)
treedb4479c9e02708a62ca6ec786002a806e818a8af /lisp/emacs-lisp/regexp-opt.el
parent87be53846bfbf5a6387cb5a40105bd0fc5b48b38 (diff)
downloademacs-cc212ea314d45c98761ae7f68600ad8bf799ea36.tar.gz
emacs-cc212ea314d45c98761ae7f68600ad8bf799ea36.tar.bz2
emacs-cc212ea314d45c98761ae7f68600ad8bf799ea36.zip
bug#69992: Minor improvement to image map transformation logic
* lisp/image.el (image--compute-rotation): New function. (image--compute-map, image--compute-original-map): Use it. Ensure all transformations are applied or undone according to what Emacs does internally. Call a transformation function only when needed. Fix doc string. (image--scale-map, image--rotate-map): Assume effective scale argument. (image--rotate-coord): Improve doc string. (image--flip-map): Remove no more used argument FLIP. * test/lisp/image-tests.el (image-create-image-with-map): Use a valid SVG image otherwise `image-size' will not return a valid value and calculation of scale could fail. (image-transform-map): Update according to changed signature of `image--flip-map'.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions