Font metrics class. More...
Derived from: | None |
Derived by: | None |
Group: | Font (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a null instance. |
| |
Returns true if this object is invalid. | |
Throw an exception if this object is invalid. | |
Returns the height of the font. | |
Returns the font ascender. | |
Returns the font descender. | |
Returns the amount of leading (space) inside the bounds set by the get_height() function. | |
Returns the amount of extra leading (space) that the application adds between rows. | |
Returns the average width of characters in the font. | |
Returns the width of the widest character in the font. | |
Returns the weight of the font. | |
Returns the extra width per string that may be added to some synthesized fonts. | |
Returns the horizontal aspect of the device for which the font was designed. | |
Returns the vertical aspect of the device for which the font was designed. | |
Returns the value of the first character defined in the font. | |
Returns the value of the last character defined in the font. | |
Returns the value of the character to be substituted for characters not in the font. | |
Returns the value of the character that will be used to define word breaks for text justification. | |
Returns true if the font is italic. | |
Returns true if the font is underlined. | |
Returns true if the font is struck out. | |
Returns true if the font is a mono space font. |
| |
Set the height of the font. | |
Set the font ascender. | |
Set the font descender. | |
Set the amount of leading (space) inside the bounds set by the set_height() function. | |
Set the amount of extra leading (space) that the application adds between rows. | |
Set the average width of characters in the font. | |
Set the width of the widest character in the font. | |
Set the weight of the font. | |
Set the extra width per string that may be added to some synthesized fonts. | |
Set the horizontal aspect of the device for which the font was designed. | |
Set the vertical aspect of the device for which the font was designed. | |
Set if the font is italic. | |
Set if the font is underlined. | |
Set if the font is struck out. | |
Set if the font is a mono space font. |