diff options
Diffstat (limited to 'libraries/evas/src/lib/engines/common/evas_font.h')
-rw-r--r-- | libraries/evas/src/lib/engines/common/evas_font.h | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/libraries/evas/src/lib/engines/common/evas_font.h b/libraries/evas/src/lib/engines/common/evas_font.h deleted file mode 100644 index 533d897..0000000 --- a/libraries/evas/src/lib/engines/common/evas_font.h +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | #ifndef _EVAS_FONT_H | ||
2 | #define _EVAS_FONT_H | ||
3 | #include "evas_text_utils.h" | ||
4 | |||
5 | |||
6 | /* main */ | ||
7 | |||
8 | EAPI void evas_common_font_init (void); | ||
9 | EAPI void evas_common_font_shutdown (void); | ||
10 | EAPI void evas_common_font_font_all_unload (void); | ||
11 | |||
12 | EAPI int evas_common_font_ascent_get (RGBA_Font *fn); | ||
13 | EAPI int evas_common_font_descent_get (RGBA_Font *fn); | ||
14 | EAPI int evas_common_font_max_ascent_get (RGBA_Font *fn); | ||
15 | EAPI int evas_common_font_max_descent_get (RGBA_Font *fn); | ||
16 | EAPI int evas_common_font_get_line_advance (RGBA_Font *fn); | ||
17 | |||
18 | /* draw */ | ||
19 | |||
20 | EAPI void evas_common_font_draw (RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font *fn, int x, int y, const Evas_Text_Props *intl_props); | ||
21 | EAPI int evas_common_font_glyph_search (RGBA_Font *fn, RGBA_Font_Int **fi_ret, Eina_Unicode gl); | ||
22 | EAPI RGBA_Font_Glyph *evas_common_font_int_cache_glyph_get (RGBA_Font_Int *fi, FT_UInt index); | ||
23 | EAPI FT_UInt evas_common_get_char_index (RGBA_Font_Int* fi, Eina_Unicode gl); | ||
24 | EAPI void evas_common_font_draw_init (void); | ||
25 | |||
26 | /* load */ | ||
27 | EAPI void evas_common_font_dpi_set (int dpi); | ||
28 | EAPI RGBA_Font_Source *evas_common_font_source_memory_load (const char *name, const void *data, int data_size); | ||
29 | EAPI RGBA_Font_Source *evas_common_font_source_load (const char *name); | ||
30 | EAPI int evas_common_font_source_load_complete (RGBA_Font_Source *fs); | ||
31 | EAPI RGBA_Font_Source *evas_common_font_source_find (const char *name); | ||
32 | EAPI void evas_common_font_source_free (RGBA_Font_Source *fs); | ||
33 | EAPI void evas_common_font_size_use (RGBA_Font *fn); | ||
34 | EAPI RGBA_Font_Int *evas_common_font_int_load (const char *name, int size, Font_Rend_Flags wanted_rend); | ||
35 | EAPI RGBA_Font_Int *evas_common_font_int_load_init (RGBA_Font_Int *fn); | ||
36 | EAPI RGBA_Font_Int *evas_common_font_int_load_complete (RGBA_Font_Int *fi); | ||
37 | EAPI RGBA_Font *evas_common_font_memory_load (const char *name, int size, const void *data, int data_size, Font_Rend_Flags wanted_rend); | ||
38 | EAPI RGBA_Font *evas_common_font_load (const char *name, int size, Font_Rend_Flags wanted_rend); | ||
39 | EAPI RGBA_Font *evas_common_font_add (RGBA_Font *fn, const char *name, int size, Font_Rend_Flags wanted_rend); | ||
40 | EAPI RGBA_Font *evas_common_font_memory_add (RGBA_Font *fn, const char *name, int size, const void *data, int data_size, Font_Rend_Flags wanted_rend); | ||
41 | EAPI void evas_common_font_free (RGBA_Font *fn); | ||
42 | EAPI void evas_common_font_hinting_set (RGBA_Font *fn, Font_Hint_Flags hinting); | ||
43 | EAPI Eina_Bool evas_common_hinting_available (Font_Hint_Flags hinting); | ||
44 | EAPI RGBA_Font *evas_common_font_memory_hinting_load (const char *name, int size, const void *data, int data_size, Font_Hint_Flags hinting, Font_Rend_Flags wanted_rend); | ||
45 | EAPI RGBA_Font *evas_common_font_hinting_load (const char *name, int size, Font_Hint_Flags hinting, Font_Rend_Flags wanted_rend); | ||
46 | EAPI RGBA_Font *evas_common_font_hinting_add (RGBA_Font *fn, const char *name, int size, Font_Hint_Flags hinting, Font_Rend_Flags wanted_rend); | ||
47 | EAPI RGBA_Font *evas_common_font_memory_hinting_add (RGBA_Font *fn, const char *name, int size, const void *data, int data_size, Font_Hint_Flags hinting, Font_Rend_Flags wanted_rend); | ||
48 | EAPI void evas_common_font_int_modify_cache_by (RGBA_Font_Int *fi, int dir); | ||
49 | EAPI int evas_common_font_cache_get (void); | ||
50 | EAPI void evas_common_font_cache_set (int size); | ||
51 | EAPI void evas_common_font_flush (void); | ||
52 | EAPI void evas_common_font_flush_last (void); | ||
53 | EAPI RGBA_Font_Int *evas_common_font_int_find (const char *name, int size, Font_Rend_Flags wanted_rend); | ||
54 | EAPI void evas_common_font_all_clear (void); | ||
55 | |||
56 | /* query */ | ||
57 | |||
58 | EAPI int evas_common_font_query_kerning (RGBA_Font_Int* fi, FT_UInt left, FT_UInt right, int* kerning); | ||
59 | EAPI void evas_common_font_query_size (RGBA_Font *fn, const Evas_Text_Props *intl_props, int *w, int *h); | ||
60 | EAPI int evas_common_font_query_inset (RGBA_Font *fn __UNUSED__, const Evas_Text_Props *text_props); | ||
61 | EAPI int evas_common_font_query_right_inset (RGBA_Font *fn __UNUSED__, const Evas_Text_Props *text_props); | ||
62 | EAPI void evas_common_font_query_advance (RGBA_Font *fn, const Evas_Text_Props *intl_props, int *h_adv, int *v_adv); | ||
63 | EAPI int evas_common_font_query_char_coords (RGBA_Font *fn, const Evas_Text_Props *intl_props, int pos, int *cx, int *cy, int *cw, int *ch); | ||
64 | EAPI int evas_common_font_query_pen_coords (RGBA_Font *fn, const Evas_Text_Props *intl_props, int pos, int *cpen_x, int *cy, int *cadv, int *ch); | ||
65 | EAPI int evas_common_font_query_char_at_coords (RGBA_Font *fn, const Evas_Text_Props *intl_props, int x, int y, int *cx, int *cy, int *cw, int *ch); | ||
66 | EAPI int evas_common_font_query_last_up_to_pos (RGBA_Font *fn, const Evas_Text_Props *intl_props, int x, int y); | ||
67 | EAPI int evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi, RGBA_Font_Int **cur_fi, Evas_Script_Type script, const Eina_Unicode *text, int run_len); | ||
68 | |||
69 | #ifdef EVAS_FRAME_QUEUING | ||
70 | EAPI void evas_common_font_draw_finish(void); | ||
71 | #endif | ||
72 | |||
73 | void evas_common_font_load_init(void); | ||
74 | void evas_common_font_load_shutdown(void); | ||
75 | |||
76 | #endif /* _EVAS_FONT_H */ | ||