Mercurial > emacs
comparison lispref/display.texi @ 29151:fa8f476affa7
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 24 May 2000 13:10:23 +0000 |
parents | ba9cfbfc601e |
children | 215b57502518 |
comparison
equal
deleted
inserted
replaced
29150:0398ec3316c5 | 29151:fa8f476affa7 |
---|---|
2385 Here is a list of other properties that are meaningful for all image | 2385 Here is a list of other properties that are meaningful for all image |
2386 types: | 2386 types: |
2387 | 2387 |
2388 @table @code | 2388 @table @code |
2389 @item :ascent @var{ascent} | 2389 @item :ascent @var{ascent} |
2390 The @code{:ascent} property specifies the percentage of the image's | 2390 The @code{:ascent} property specifies the amount of the image's |
2391 height to use for its ascent---that is, the part above the baseline. The | 2391 height to use for its ascent---that is, the part above the baseline. |
2392 value, @var{ascent}, must be a number in the range 0 to 100. If this | 2392 The value, @var{ascent}, must be a number in the range 0 to 100, or |
2393 property is omitted, it defaults to 50. | 2393 the symbol @code{center}. |
2394 | |
2395 If @var{ascent} is a number, that percentage of the image's height is | |
2396 used for its ascent. | |
2397 | |
2398 If @var{ascent} is @code{center}, the image is vertically centered | |
2399 around a centerline which would be the vertical centerline of text drawn | |
2400 at the position of the image, in the manner specified by the text | |
2401 properties and overlays that apply to the image. | |
2402 | |
2403 If this property is omitted, it defaults to 50. | |
2394 | 2404 |
2395 @item :margin @var{margin} | 2405 @item :margin @var{margin} |
2396 The @code{:margin} property specifies how many pixels to add as an extra | 2406 The @code{:margin} property specifies how many pixels to add as an extra |
2397 margin around the image. The value, @var{margin}, must be a | 2407 margin around the image. The value, @var{margin}, must be a |
2398 non-negative number; if it is not specified, the default is zero. | 2408 non-negative number; if it is not specified, the default is zero. |