comparison lispref/display.texi @ 51652:55fb0658914a

Fix minor Texinfo usage.
author Richard M. Stallman <rms@gnu.org>
date Tue, 24 Jun 2003 18:15:06 +0000
parents 72af65197e01
children 26d4153f70a1
comparison
equal deleted inserted replaced
51651:a81c039e79f9 51652:55fb0658914a
1666 that means the selected frame (@pxref{Input Focus}). 1666 that means the selected frame (@pxref{Input Focus}).
1667 1667
1668 If @var{frame} is @code{t}, the value is the default for 1668 If @var{frame} is @code{t}, the value is the default for
1669 @var{face} for new frames. 1669 @var{face} for new frames.
1670 1670
1671 If @var{inherit} is nil, only attributes directly defined by 1671 If @var{inherit} is @code{nil}, only attributes directly defined by
1672 @var{face} are considered, so the return value may be 1672 @var{face} are considered, so the return value may be
1673 @code{unspecified}, or a relative value. If @var{inherit} is non-nil, 1673 @code{unspecified}, or a relative value. If @var{inherit} is
1674 @var{face}'s definition of @var{attribute} is merged with the faces 1674 non-@code{nil}, @var{face}'s definition of @var{attribute} is merged
1675 specified by its @code{:inherit} attribute; however the return value 1675 with the faces specified by its @code{:inherit} attribute; however the
1676 may still be @code{unspecified} or relative. If @var{inherit} is a 1676 return value may still be @code{unspecified} or relative. If
1677 face or a list of faces, then the result is further merged with that 1677 @var{inherit} is a face or a list of faces, then the result is further
1678 face (or faces), until it becomes specified and absolute. 1678 merged with that face (or faces), until it becomes specified and
1679 absolute.
1679 1680
1680 To ensure that the return value is always specified and absolute, use 1681 To ensure that the return value is always specified and absolute, use
1681 a value of @code{default} for @var{inherit}; this will resolve any 1682 a value of @code{default} for @var{inherit}; this will resolve any
1682 unspecified or relative values by merging with the @code{default} face 1683 unspecified or relative values by merging with the @code{default} face
1683 (which is always completely specified). 1684 (which is always completely specified).
1788 1789
1789 @defun face-stipple face &optional frame inherit 1790 @defun face-stipple face &optional frame inherit
1790 This function returns the name of the background stipple pattern of face 1791 This function returns the name of the background stipple pattern of face
1791 @var{face}, or @code{nil} if it doesn't have one. 1792 @var{face}, or @code{nil} if it doesn't have one.
1792 1793
1793 If @var{inherit} is nil, only a stipple directly defined by the face 1794 If @var{inherit} is @code{nil}, only a stipple directly defined by the
1794 is returned. If @var{inherit} is non-nil, any faces specified by its 1795 face is returned. If @var{inherit} is non-@code{nil}, any faces
1795 @code{:inherit} attribute are considered as well, and if @var{inherit} 1796 specified by its @code{:inherit} attribute are considered as well, and
1796 is a face or a list of faces, then they are also considered, until a 1797 if @var{inherit} is a face or a list of faces, then they are also
1797 specified stipple is found. To ensure that the return value is always 1798 considered, until a specified stipple is found. To ensure that the
1798 specified, use a value of @code{default} for @var{inherit}. 1799 return value is always specified, use a value of @code{default} for
1800 @var{inherit}.
1799 @end defun 1801 @end defun
1800 1802
1801 @defun face-font face &optional frame 1803 @defun face-font face &optional frame
1802 This function returns the name of the font of face @var{face}. 1804 This function returns the name of the font of face @var{face}.
1803 @end defun 1805 @end defun
2138 2140
2139 The first five elements correspond to face attributes; if you 2141 The first five elements correspond to face attributes; if you
2140 specify these attributes for a face, it will use this font. 2142 specify these attributes for a face, it will use this font.
2141 2143
2142 The last three elements give additional information about the font. 2144 The last three elements give additional information about the font.
2143 @var{fixed-p} is non-nil if the font is fixed-pitch. @var{full} is the 2145 @var{fixed-p} is non-@code{nil} if the font is fixed-pitch.
2144 full name of the font, and @var{registry-and-encoding} is a string 2146 @var{full} is the full name of the font, and
2145 giving the registry and encoding of the font. 2147 @var{registry-and-encoding} is a string giving the registry and
2148 encoding of the font.
2146 2149
2147 The result list is sorted according to the current face font sort order. 2150 The result list is sorted according to the current face font sort order.
2148 @end defun 2151 @end defun
2149 2152
2150 @defun x-font-family-list &optional frame 2153 @defun x-font-family-list &optional frame
2683 the four corners of the image, assuming the most frequently occurring 2686 the four corners of the image, assuming the most frequently occurring
2684 color from the corners is the background color of the image. Otherwise, 2687 color from the corners is the background color of the image. Otherwise,
2685 @var{bg} must be a list @code{(@var{red} @var{green} @var{blue})} 2688 @var{bg} must be a list @code{(@var{red} @var{green} @var{blue})}
2686 specifying the color to assume for the background of the image. 2689 specifying the color to assume for the background of the image.
2687 2690
2688 If @var{mask} is nil, remove a mask from the image, if it has one. Images 2691 If @var{mask} is @code{nil}, remove a mask from the image, if it has
2689 in some formats include a mask which can be removed by specifying 2692 one. Images in some formats include a mask which can be removed by
2690 @code{:mask nil}. 2693 specifying @code{:mask nil}.
2691 @end table 2694 @end table
2692 2695
2693 @defun image-mask-p spec &optional frame 2696 @defun image-mask-p spec &optional frame
2694 @tindex image-mask-p 2697 @tindex image-mask-p
2695 This function returns @code{t} if image @var{spec} has a mask bitmap. 2698 This function returns @code{t} if image @var{spec} has a mask bitmap.
3006 3009
3007 @defun image-size spec &optional pixels frame 3010 @defun image-size spec &optional pixels frame
3008 @tindex image-size 3011 @tindex image-size
3009 This function returns the size of an image as a pair 3012 This function returns the size of an image as a pair
3010 @w{@code{(@var{width} . @var{height})}}. @var{spec} is an image 3013 @w{@code{(@var{width} . @var{height})}}. @var{spec} is an image
3011 specification. @var{pixels} non-nil means return sizes measured in 3014 specification. @var{pixels} non-@code{nil} means return sizes
3012 pixels, otherwise return sizes measured in canonical character units 3015 measured in pixels, otherwise return sizes measured in canonical
3013 (fractions of the width/height of the frame's default font). 3016 character units (fractions of the width/height of the frame's default
3014 @var{frame} is the frame on which the image will be displayed. 3017 font). @var{frame} is the frame on which the image will be displayed.
3015 @var{frame} null or omitted means use the selected frame (@pxref{Input 3018 @var{frame} null or omitted means use the selected frame (@pxref{Input
3016 Focus}). 3019 Focus}).
3017 @end defun 3020 @end defun
3018 3021
3019 @node Image Cache 3022 @node Image Cache