Mercurial > emacs
diff etc/NEWS @ 29939:3a5f38acde89
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 26 Jun 2000 13:14:52 +0000 |
parents | daf26bf9d779 |
children | abd4c37731d3 |
line wrap: on
line diff
--- a/etc/NEWS Mon Jun 26 13:11:38 2000 +0000 +++ b/etc/NEWS Mon Jun 26 13:14:52 2000 +0000 @@ -1969,6 +1969,20 @@ * Lisp-level Display features added after release 2.6 of the Emacs Lisp Manual + +** The function `image-size' can be used to determine the size of an +image. + +- Function: image-size SPEC &optional PIXELS FRAME + +Return the size of an image as a pair (WIDTH . HEIGHT). + +SPEC is an image specification. PIXELS non-nil means return sizes +measured in pixels, otherwise return sizes measured in canonical +character units (fractions of the width/height of the frame's default +font). FRAME is the frame on which the image will be displayed. +FRAME nil or omitted means use the selected frame. + ** The function `find-image' can be used to find a usable image satisfying one of a list of specifications.