All Classes |Grouped Classes |Index

Class CL_FontDescription

Font description class. More...

Derived from:

None

Derived by:

None

Group:

Font (Display)

#include <ClanLib/display.h>

Class Members:

Construction:

CL_FontDescription

Constructs a font description with default values.

create_null_object

Create null object.


Attributes:

is_null

Is Null.

get_typeface_name

Returns the typeface name.

get_height

Returns the font height.

get_average_width

Returns the font average width.

get_escapement

Returns the font escapement.

get_orientation

Returns the font orientation.

get_weight

Returns the font weight.

get_italic

Returns the font italic setting.

get_underline

Returns the font underline setting.

get_strikeout

Returns the font strikeout setting.

get_fixed_pitch

Returns the font fixed pitch setting.

get_anti_alias

Get the font anti-alias setting.

get_anti_alias_set

Returns true if set_anti_alias() was called. (Else, the anti-alias default setting depends on the implementation.

operator==

Returns true if the font is identical.


Operations:

clone

set_typeface_name

Sets the typeface name.

set_height

Sets the font height.

set_average_width

Sets the font average width.

set_escapement

Sets the font escapement.

set_orientation

Sets the font orientation.

set_weight

Sets the font weight.

set_italic

Sets the font italic setting.

set_underline

Sets the font underline setting.

set_strikeout

Sets the font strikeout setting.

set_fixed_pitch

Sets the font fixed pitch setting.

set_anti_alias

Sets the font anti-alias setting.

Detailed description:

This class allows you to setup a more advanced description when creating a font.