1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-12 18:55:13 -08:00
emacs/etc
Alan Third 610fb73ab6 Add native image rotation and cropping
* lisp/image.el (image--get-imagemagick-and-warn): Only fallback to
ImageMagick if native transforms aren't available.
* src/dispextern.h (INIT_MATRIX, COPY_MATRIX, MULT_MATRICES): New
macros for matrix manipulation.
(HAVE_NATIVE_SCALING, HAVE_NATIVE_TRANSFORMS): Rename and change all
relevant locations.
* src/image.c (x_set_image_rotation):
(x_set_transform): New functions.
(x_set_image_size): Use transform matrix for resizing under X and NS.
(x_set_image_crop): New function.
(lookup_image): Use the new transform functions.
(Fimage_scaling_p, Fimage_transforms_p): Rename and update all
callers.
* src/nsimage.m (ns_load_image): Remove rotation code.
(ns_image_set_transform): New function.
([EmacsImage dealloc]): Release the saved transform.
([EmacsImage rotate:]): Remove unneeded method.
([EmacsImage setTransform:]): New method.
* src/nsterm.h (EmacsImage): Add transform property and update method
definitions.
* src/nsterm.m (ns_dumpglyphs_image): Use the transform to draw the
image correctly.
* src/xterm.c (x_composite_image): Use PictOpSrc as we don't care
about alpha values here.
* doc/lispref/display.texi (Image Descriptors): Add :rotation.
(ImageMagick Images): Remove :rotation.
2019-06-05 22:28:46 +01:00
..
charsets
e
forms
gnus
images
nxml
org
refcards Update author/maintainer info 2019-05-26 01:00:16 -07:00
schema
srecode Update author/maintainer info 2019-05-26 01:00:16 -07:00
themes
tutorials Fixes for "Maintainer:" and related lines 2019-05-19 21:34:27 -07:00
AUTHORS
CALC-NEWS
ChangeLog.1 Update author/maintainer info 2019-05-26 01:00:16 -07:00
compilation.txt
COPYING
DEBUG Improve UBSan discussion in etc/DEBUG 2019-04-22 17:26:25 -07:00
DEVEL.HUMOR
DISTRIB
edt-user.el Remove Maintainer: when it duplicates Author: 2019-05-26 01:00:15 -07:00
emacs-buffer.gdb
emacs.appdata.xml
emacs.desktop
emacs.icon
emacs.service
enriched.txt
ERC-NEWS
ETAGS.EBNF
ETAGS.README
future-bug
gnus-tut.txt
grep.txt
HELLO ; Fix stray merge conflict 2019-06-01 14:00:43 -07:00
HISTORY
JOKES
MACHINES
MH-E-NEWS
NEWS Add native image rotation and cropping 2019-06-05 22:28:46 +01:00
NEWS.1-17
NEWS.18
NEWS.19
NEWS.20
NEWS.21
NEWS.22
NEWS.23
NEWS.24 * etc/NEWS.24: Belatedly announce delete-consecutive-dups. 2019-05-01 22:17:10 -04:00
NEWS.25
NEWS.26 Merge from origin/emacs-26 2019-04-21 07:51:38 -07:00
NEXTSTEP
NXML-NEWS
ORG-NEWS
package-keyring.gpg * etc/package-keyring.gpg: Add the 2019 key (backport) 2019-05-08 13:19:36 -04:00
PROBLEMS
ps-prin0.ps
ps-prin1.ps
publicsuffix.txt
README
rgb.txt
ses-example.ses
spook.lines
TERMS
TODO Cleanup of TODO to prefer report-emacs-bug 2019-05-28 08:12:17 -04:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2019 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)