Mercurial > hg > xemacs-beta
diff man/lispref/faces.texi @ 2127:4657b5a54253
[xemacs-hg @ 2004-06-14 10:24:44 by stephent]
Improve glyph docs <87659uxwsv.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Mon, 14 Jun 2004 10:24:45 +0000 |
parents | c6facab13185 |
children | 8baa2f03d853 |
line wrap: on
line diff
--- a/man/lispref/faces.texi Sun Jun 13 21:50:59 2004 +0000 +++ b/man/lispref/faces.texi Mon Jun 14 10:24:45 2004 +0000 @@ -164,7 +164,7 @@ @item background-pixmap The pixmap displayed in the background of the face. Only used by faces -on X devices. +on GUI devices, currently X11, GTK, and Microsoft Windows. @item underline Underline all text covered by this face. @@ -373,6 +373,14 @@ be a list of the form @code{(@var{width} @var{height} @var{data})} where @var{width} and @var{height} are the size in pixels, and @var{data} is a string, containing the raw bits of the bitmap. + +Similarly to how the glyph's image specifier works @xref{Creating +Glyphs}, you don't create your own image specifier, but rather add +specifications to the existing one. Note that the image instance that is +generated in order to actually display the background pixmap is of type +@code{mono-pixmap}, meaning that it's a two-color image and the +foreground and background of the image get filled in with the +corresponding colors from the face. (#### Is this still true?) @end deffn @deffn Command set-face-background-pixmap-file face file @@ -399,7 +407,7 @@ @end defun @defun face-background-pixmap face &optional locale tag-set exact-p -This function return the background-pixmap glyph object of face +This function returns the background-pixmap image specifier of face @var{face}. @end defun