Next: , Previous: , Up: Manipulating Glyphs   [Contents][Index]


50.4.3 Glyph Dimensions

Function: glyph-width glyph &optional window

This function returns the width of glyph on window. This may not be exact as it does not take into account all of the context that redisplay will.

Function: glyph-ascent glyph &optional window

This function returns the ascent value of glyph on window. This may not be exact as it does not take into account all of the context that redisplay will.

Function: glyph-descent glyph &optional window

This function returns the descent value of glyph on window. This may not be exact as it does not take into account all of the context that redisplay will.

Function: glyph-height glyph &optional window

This function returns the height of glyph on window. (This is equivalent to the sum of the ascent and descent values.) This may not be exact as it does not take into account all of the context that redisplay will.