All Classes |Grouped Classes |Index

Class CL_Font

Font class. More...

Derived from:

None

Derived by:

CL_Font_Freetype, CL_Font_Sprite, CL_Font_System, CL_Font_Vector

Group:

Font (Display)

#include <ClanLib/display.h>

Class Members:

Construction:

CL_Font

Constructs a font.


Attributes:

is_null

Is Null.

get_provider

Retrieves the font provider.


Operations:

draw_text

Print text on gc.

draw_text_ellipsis

Print text on gc adding elipses if it does not fit.

get_text_size

Calculate size of text string.

get_glyph_size

Gets the size of a specified glyph.

get_font_metrics

Retrieves font metrics description for the selected font.

get_character_index

Get the character index at a specified point.