1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
emacs/doc/lispref
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
..
abbrevs.texi Merge from origin/emacs-26 2019-02-20 12:07:22 -08:00
anti.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
back.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
backups.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
book-spine.texi
buffers.texi Merge from origin/emacs-26 2019-03-09 10:07:46 -08:00
ChangeLog.1 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
commands.texi Clarify what constitutes an event (bug#35238) 2019-05-07 18:00:20 +01:00
compile.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
control.texi Merge from origin/emacs-26 2019-06-01 12:04:41 -07:00
customize.texi Backport: Improve pure and side-effect-free docs 2019-04-22 16:14:33 +01:00
debugging.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
display.texi Add native image rotation and cropping 2019-06-05 22:28:46 +01:00
doclicense.texi
edebug.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
elisp.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
errors.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eval.texi Backport: Improve pure and side-effect-free docs 2019-04-22 16:14:33 +01:00
files.texi Fix misuses of NULL when talking about the NUL character 2019-03-21 23:55:28 -04:00
frames.texi Fix handling of minibuffer-only child frames (Bug#33498) 2019-03-05 10:46:19 +01:00
functions.texi Merge from origin/emacs-26 2019-06-01 12:04:41 -07:00
gpl.texi
hash.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
help.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
hooks.texi Avoid polling in global-auto-revert-mode (bug#35418) 2019-05-20 11:26:51 +02:00
index.texi
internals.texi Export major version of latest Emacs supported by emacs-module.h. 2019-04-28 20:08:25 +02:00
intro.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
keymaps.texi Merge from origin/emacs-26 2019-03-09 10:07:46 -08:00
lay-flat.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lists.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
loading.texi Merge from origin/emacs-26 2019-05-22 10:18:51 -07:00
macros.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
Makefile.in Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
maps.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
markers.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
minibuf.texi Merge from origin/emacs-26 2019-04-12 07:51:35 -07:00
modes.texi Merge from origin/emacs-26 2019-06-01 12:04:41 -07:00
nonascii.texi Merge from origin/emacs-26 2019-06-01 12:04:41 -07:00
numbers.texi Always allow at least double-precision bignums 2019-06-04 08:34:15 -07:00
objects.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
os.texi Clarify what constitutes an event (bug#35238) 2019-05-07 18:00:20 +01:00
package.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
positions.texi Remove redundants "See" before @xref or @pxref (Bug#35793) 2019-05-25 13:02:05 -04:00
processes.texi Merge from origin/emacs-26 2019-05-08 07:51:46 -07:00
README Update copyright year to 2019 2019-01-01 01:01:13 +00:00
records.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
searching.texi Add standard unmatchable regexp 2019-05-15 18:55:27 +02:00
sequences.texi Merge from origin/emacs-26 2019-05-22 10:18:51 -07:00
spellfile Update lispref spellfile 2019-06-04 08:34:16 -07:00
streams.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
strings.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
symbols.texi Backport: Improve pure and side-effect-free docs 2019-04-22 16:14:33 +01:00
syntax.texi Merge from origin/emacs-26 2019-02-20 12:07:22 -08:00
text.texi Merge from origin/emacs-26 2019-05-14 17:18:18 -07:00
threads.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tips.texi Document ‘Maintainer: emacs-devel@gnu.org’ 2019-05-25 14:25:18 -07:00
two-volume-cross-refs.txt Update copyright year to 2019 2019-01-01 01:01:13 +00:00
two-volume.make Update copyright year to 2019 2019-01-01 01:01:13 +00:00
variables.texi Merge from origin/emacs-26 2019-06-01 12:04:43 -07:00
windows.texi New buffer display action function 'display-buffer-in-direction' 2019-05-19 11:03:05 +02:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2019 Free Software Foundation, Inc.  -*- outline -*-
See the end of the file for license conditions.


README for the Emacs Lisp Reference Manual.

* This directory contains the texinfo source files for the Emacs Lisp
Reference Manual.

* Report bugs in the Lisp Manual (or in Emacs) using M-x report-emacs-bug.
To ask questions, use the help-gnu-emacs mailing list.

* The Emacs Lisp Reference Manual is quite large.  It totals around
1100 pages in smallbook format; the info files total around 3.0 megabytes.

* You can format this manual for Info, for printing hardcopy using TeX,
or for HTML.

* You can buy nicely printed copies from the Free Software Foundation.
Buying a manual from the Free Software Foundation helps support our GNU
development work.  See <https://shop.fsf.org/>.
(At time of writing, this manual is out of print.)

* The master file for formatting this manual for Tex is called 'elisp.texi'.
It contains @include commands to include all the chapters that make up
the manual.

* This distribution contains a Makefile that you can use with GNU Make.

** To make an Info file, you need to install Texinfo, then run 'make info'.

** Use 'make elisp.pdf' or 'make elisp.html' to create PDF or HTML versions.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.