Next: Other Face Display Functions, Previous: Face Properties, Up: Faces [Contents][Index]
These functions set the foreground (respectively, background) color of
face face to color. The argument color should be a
string (the name of a color) or a color object as returned by
make-color
(see Colors).
This function sets the background pixmap of face face to
pixmap. The argument pixmap should be a string (the name of
a bitmap or pixmap file; the directories listed in the variable
x-bitmap-file-path
will be searched) or a glyph object as
returned by make-glyph
(see Glyphs). The argument may also
be a list of the form (width height data)
where
width and height are the size in pixels, and data is a
string, containing the raw bits of the bitmap.
Similarly to how the glyph’s image specifier works See 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
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?)
This function sets the font of face face. The argument font
should be a string or a font object as returned by make-font
(see Fonts).
This function sets the underline property of face face.
These functions return the foreground (respectively, background) color specifier of face face. See Colors.
This function returns the background-pixmap image specifier of face face.
This function returns the font specifier of face face.
Note: This is not the same as the function face-font
in FSF Emacs.
See Fonts.
This function returns the name of the font of face face, or
nil
if it is unspecified. This is basically equivalent to
(font-name (face-font face) domain)
except that
it does not cause an error if face’s font is nil
.
Note: This function is named face-font
in FSF Emacs.
This function returns the underline property of face face.
These functions return the foreground (respectively, background) color specifier of face face. See Colors.
This function return the background-pixmap glyph object of face face.
This function returns the font specifier of face face. See Fonts.
Next: Other Face Display Functions, Previous: Face Properties, Up: Faces [Contents][Index]