The following functions are provided for working with specific properties of a glyph. Note that these are exactly like calling the general functions described above and passing in the appropriate value for property.
Remember that if you want to determine the “value” of a
specific glyph property, you probably want to use the *-instance
functions. For example, to determine whether a glyph contributes
to its line height, use glyph-contrib-p-instance, not
glyph-contrib-p. (The latter will return a boolean specifier
or a list of specifications, and you probably aren't concerned with
these.)
This function is equivalent to calling
glyph-propertywith a property ofimage. The return value will be an image specifier if locale isnilor omitted; otherwise, it will be a specification or list of specifications.
This function is equivalent to calling
set-glyph-propertywith a property ofimage.
This function returns the instance of glyph's image in the given domain, and is equivalent to calling
glyph-property-instancewith a property ofimage. The return value will be an image instance.Normally domain will be a window or
nil(meaning the selected window), and an instance object describing how the image appears in that particular window and buffer will be returned.
This function is equivalent to calling
glyph-propertywith a property ofcontrib-p. The return value will be a boolean specifier if locale isnilor omitted; otherwise, it will be a specification or list of specifications.
This function is equivalent to calling
set-glyph-propertywith a property ofcontrib-p.
This function returns whether the glyph contributes to its line height in the given domain, and is equivalent to calling
glyph-property-instancewith a property ofcontrib-p. The return value will be eithernilort. (Normally domain will be a window ornil, meaning the selected window.)
This function is equivalent to calling
glyph-propertywith a property ofbaseline. The return value will be a specifier if locale isnilor omitted; otherwise, it will be a specification or list of specifications.
This function is equivalent to calling
set-glyph-propertywith a property ofbaseline.
This function returns the instance of glyph's baseline value in the given domain, and is equivalent to calling
glyph-property-instancewith a property ofbaseline. The return value will be an integer ornil.Normally domain will be a window or
nil(meaning the selected window), and an instance object describing the baseline value appears in that particular window and buffer will be returned.