All Classes |Grouped Classes |Index

Class CL_Font_Vector

Vector font drawing 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_Vector

Constructs vector font.


Attributes:

get_provider

Retrieves the font provider.


Operations:

get_glyph_count

Returns the amount of glyphs used by text.

get_glyph_outline

Gets the glyph outline for a glyph.

get_glyph_triangles

Gets the glyph triangles for a glyph.

get_glyphs

Find glyph indexes and inter-spacing (x,y) values for text.

draw_glyphs

Draw glyphs on device context.

get_glyphs_size

Get glyphs size.