Functions that deals with fonts. More...
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. More... | |
Enumerations | |
enum | _Evas_Font_Hinting_Flags { EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE } |
Flags for Font Hinting. More... | |
#define | evas_canvas_font_hinting_set(hinting) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_SET), EO_TYPECHECK(Evas_Font_Hinting_Flags, hinting) |
#define | evas_canvas_font_hinting_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_GET), EO_TYPECHECK(Evas_Font_Hinting_Flags *, ret) |
#define | evas_canvas_font_hinting_can_hint(hinting, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_CAN_HINT), EO_TYPECHECK(Evas_Font_Hinting_Flags, hinting), EO_TYPECHECK(Eina_Bool *, ret) |
#define | evas_canvas_font_cache_flush() EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_FLUSH) |
#define | evas_canvas_font_cache_set(size) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_SET), EO_TYPECHECK(int, size) |
#define | evas_canvas_font_cache_get(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_GET), EO_TYPECHECK(int *, ret) |
#define | evas_canvas_font_available_list(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_AVAILABLE_LIST), EO_TYPECHECK(Eina_List **, ret) |
void | evas_font_hinting_set (Evas *e, Evas_Font_Hinting_Flags hinting) |
Changes the font hinting for the given evas. More... | |
Evas_Font_Hinting_Flags | evas_font_hinting_get (const Evas *e) |
Retrieves the font hinting used by the given evas. More... | |
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. More... | |
void | evas_font_cache_flush (Evas *e) |
Force the given evas and associated engine to flush its font cache. More... | |
void | evas_font_cache_set (Evas *e, int size) |
Changes the size of font cache of the given evas. More... | |
int | evas_font_cache_get (const Evas *e) |
Changes the size of font cache of the given evas. More... | |
Eina_List * | evas_font_available_list (const Evas *e) |
List of available font descriptions known or found by this evas. More... | |
void | evas_font_available_list_free (Evas *e, Eina_List *available) |
Free list of font descriptions returned by evas_font_dir_available_list(). More... | |
void | evas_font_path_clear (Evas *e) |
Removes all font paths loaded into memory for the given evas. More... | |
void | evas_font_path_append (Evas *e, const char *path) |
Appends a font path to the list of font paths used by the given evas. More... | |
void | evas_font_path_prepend (Evas *e, const char *path) |
Prepends a font path to the list of font paths used by the given evas. More... | |
const Eina_List * | evas_font_path_list (const Evas *e) |
Retrieves the list of font paths used by the given evas. More... | |
Functions that deals with fonts.
#define evas_canvas_font_hinting_set | ( | hinting | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_SET), EO_TYPECHECK(Evas_Font_Hinting_Flags, hinting) |
Changes the font hinting for the given evas.
[in] | hinting |
Referenced by evas_font_hinting_set().
#define evas_canvas_font_hinting_get | ( | ret | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_GET), EO_TYPECHECK(Evas_Font_Hinting_Flags *, ret) |
Retrieves the font hinting used by the given evas.
[out] | ret |
Referenced by evas_font_hinting_get().
#define evas_canvas_font_hinting_can_hint | ( | hinting, | |
ret | |||
) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_HINTING_CAN_HINT), EO_TYPECHECK(Evas_Font_Hinting_Flags, hinting), EO_TYPECHECK(Eina_Bool *, ret) |
Checks if the font hinting is supported by the given evas.
[in] | hinting | |
[out] | ret |
Referenced by evas_font_hinting_can_hint().
#define evas_canvas_font_cache_flush | ( | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_FLUSH) |
Force the given evas and associated engine to flush its font cache.
Referenced by evas_font_cache_flush().
#define evas_canvas_font_cache_set | ( | size | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_SET), EO_TYPECHECK(int, size) |
Changes the size of font cache of the given evas.
[in] | size |
Referenced by evas_font_cache_set().
#define evas_canvas_font_cache_get | ( | ret | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_CACHE_GET), EO_TYPECHECK(int *, ret) |
Changes the size of font cache of the given evas.
[out] | ret |
Referenced by evas_font_cache_get().
#define evas_canvas_font_available_list | ( | ret | ) | EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_FONT_AVAILABLE_LIST), EO_TYPECHECK(Eina_List **, ret) |
List of available font descriptions known or found by this evas.
[out] | ret |
Referenced by evas_font_available_list().
typedef enum _Evas_Font_Hinting_Flags Evas_Font_Hinting_Flags |
Flags for Font Hinting.
Flags for Font Hinting
void evas_font_hinting_set | ( | Evas * | e, |
Evas_Font_Hinting_Flags | hinting | ||
) |
Changes the font hinting for the given evas.
e | The given evas. |
hinting | The hinting to use, one of EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE. |
References evas_canvas_font_hinting_set.
Evas_Font_Hinting_Flags evas_font_hinting_get | ( | const Evas * | e | ) |
Retrieves the font hinting used by the given evas.
e | The given evas to query. |
References evas_canvas_font_hinting_get, and EVAS_FONT_HINTING_BYTECODE.
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.
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. |
EINA_TRUE
if it is supported, EINA_FALSE
otherwise. References evas_canvas_font_hinting_can_hint.
void evas_font_cache_flush | ( | Evas * | e | ) |
Force the given evas and associated engine to flush its font cache.
e | The given evas to flush font cache. |
References evas_canvas_font_cache_flush.
void evas_font_cache_set | ( | Evas * | e, |
int | size | ||
) |
Changes the size of font cache of the given evas.
e | The given evas to flush font cache. |
size | The size, in bytes. |
References evas_canvas_font_cache_set.
int evas_font_cache_get | ( | const Evas * | e | ) |
Changes the size of font cache of the given evas.
e | The given evas to flush font cache. |
References evas_canvas_font_cache_get.
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.
e | The evas instance to query. |
References evas_canvas_font_available_list.
Free list of font descriptions returned by evas_font_dir_available_list().
e | The evas instance that returned such list. |
available | the list returned by evas_font_dir_available_list(). |
void evas_font_path_clear | ( | Evas * | e | ) |
Removes all font paths loaded into memory for the given evas.
e | The given evas. |
References evas_canvas_font_path_clear.
void evas_font_path_append | ( | Evas * | e, |
const char * | path | ||
) |
Appends a font path to the list of font paths used by the given evas.
e | The given evas. |
path | The new font path. |
References evas_canvas_font_path_append.
void evas_font_path_prepend | ( | Evas * | e, |
const char * | path | ||
) |
Prepends a font path to the list of font paths used by the given evas.
e | The given evas. |
path | The new font path. |
References evas_canvas_font_path_prepend.
Retrieves the list of font paths used by the given evas.
e | The given evas. |
References evas_canvas_font_path_list.