All Classes |Grouped Classes |Index

Class CL_Font_Freetype

Freetype Font class. More...

Derived from:

public CL_Font

Derived by:

None

Group:

Font (Display)

#include <ClanLib/display.h>

Class Members:

Attributes:

is_null

Is Null.


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.


Construction:

CL_Font_Freetype

Constructs freetype font.


Attributes:

get_provider

Retrieves the font provider.


Operations:

set_texture_group

Set the texture font to use a specified texture group.