From: Kim F. Storm Date: Tue, 20 Apr 2004 22:44:20 +0000 (+0000) Subject: Add image slices. Add posn-at- functions. X-Git-Tag: ttn-vms-21-2-B4~6692 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09fe18d30a4f12e73c2a3b6fea0765339b36f222;p=emacs.git Add image slices. Add posn-at- functions. --- diff --git a/etc/NEWS b/etc/NEWS index 2e783d08863..a76223b7d48 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1950,11 +1950,34 @@ configuration files. * Lisp Changes in Emacs 21.4 +** New functions posn-at-point and posn-at-x-y returns mouse click +like position information for a visible buffer position or a window +pixel coordinate. + +** Function pos-visible-in-window-p how return pixel coordinates and +partial visiblity state of corresponding row if `partially' arg is +non-nil. + ** The function `eql' is now available without requiring the CL package. ** The display space :width and :align-to text properties are now supported on text terminals. +** Support for displaying image slices + +*** New display property (slice X Y WIDTH HEIGHT) may be used with +an image property to display only a specific slice of the image. + +*** Function insert-image has new optional fourth arg to +specify image slice (X Y WIDTH HEIGHT). + +*** New function insert-sliced-image inserts a given image as a +specified number of evenly sized slices (rows x columns). + +*** Trailing newlines no longer contribute to the height of a display +row; instead the height of the newline glyph is reduced. This allows +sliced images to use a height less than the default line height. + ** Enhancements to stretch display properties The display property stretch specification form `(space PROPS)', where