Evas_Font_Group

Langue: en

Version: 376391 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Font Functions -

Functions that deals with fonts.

Modules


Font Path Functions

Functions that edit the paths being used to load fonts.

Typedefs


typedef enum _Evas_Font_Hinting_Flags Evas_Font_Hinting_Flags
Flags for Font Hinting.

Enumerations


enum _Evas_Font_Hinting_Flags { EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE }
Flags for Font Hinting.

Functions


EAPI void evas_font_hinting_set (Evas *e, Evas_Font_Hinting_Flags hinting)
Changes the font hinting for the given evas.
EAPI Evas_Font_Hinting_Flags evas_font_hinting_get (const Evas *e)
Retrieves the font hinting used by the given evas.
EAPI Eina_Bool evas_font_hinting_can_hint (const Evas *e, Evas_Font_Hinting_Flags hinting)
Checks if the font hinting is supported by the given evas.
EAPI void evas_font_cache_flush (Evas *e)
Force the given evas and associated engine to flush its font cache.
EAPI void evas_font_cache_set (Evas *e, int size)
Changes the size of font cache of the given evas.
EAPI int evas_font_cache_get (const Evas *e)
Changes the size of font cache of the given evas.
EAPI Eina_List * evas_font_available_list (const Evas *e)
List of available font descriptions known or found by this evas.
EAPI void evas_font_available_list_free (Evas *e, Eina_List *available)
Free list of font descriptions returned by evas_font_dir_available_list().

Detailed Description

Functions that deals with fonts.

Typedef Documentation

typedef enum _Evas_Font_Hinting_Flags Evas_Font_Hinting_Flags

Flags for Font Hinting. Flags for Font Hinting

Enumeration Type Documentation

enum _Evas_Font_Hinting_Flags

Flags for Font Hinting.

Enumerator:

EVAS_FONT_HINTING_NONE
No font hinting.
EVAS_FONT_HINTING_AUTO
Automatic font hinting.
EVAS_FONT_HINTING_BYTECODE
Bytecode font hinting.

Function Documentation

EAPI Eina_List* evas_font_available_list (const Evas * e)

List of available font descriptions known or found by this evas. The list depends on Evas compile time configuration, such as fontconfig support, and the paths provided at runtime as explained in Font Path Functions.

Parameters:

e The evas instance to query.

Returns:

a newly allocated list of strings. Do not change the strings. Be sure to call evas_font_available_list_free() after you're done.

EAPI void evas_font_available_list_free (Evas * e, Eina_List * available)

Free list of font descriptions returned by evas_font_dir_available_list(). Parameters:

e The evas instance that returned such list.
available the list returned by evas_font_dir_available_list().

EAPI void evas_font_cache_flush (Evas * e)

Force the given evas and associated engine to flush its font cache. Parameters:

e The given evas to flush font cache.

EAPI int evas_font_cache_get (const Evas * e)

Changes the size of font cache of the given evas. Parameters:

e The given evas to flush font cache.

Returns:

The size, in bytes.

EAPI void evas_font_cache_set (Evas * e, int size)

Changes the size of font cache of the given evas. Parameters:

e The given evas to flush font cache.
size The size, in bytes.

EAPI Eina_Bool evas_font_hinting_can_hint (const Evas * e, Evas_Font_Hinting_Flags hinting)

Checks if the font hinting is supported by the given evas. Parameters:

e The given evas to query.
hinting The hinting to use, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.

Returns:

EINA_TRUE if it is supported, EINA_FALSE otherwise.

EAPI Evas_Font_Hinting_Flags evas_font_hinting_get (const Evas * e)

Retrieves the font hinting used by the given evas. Parameters:

e The given evas to query.

Returns:

The hinting in use, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.

References EVAS_FONT_HINTING_BYTECODE.

EAPI void evas_font_hinting_set (Evas * e, Evas_Font_Hinting_Flags hinting)

Changes the font hinting for the given evas. Parameters:

e The given evas.
hinting The hinting to use, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE.

Author

Generated automatically by Doxygen for Evas from the source code.