Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/include
Modified Files:
evas_common.h evas_private.h
Log Message:
make hinting an engine api thnig - engine apis need to be mroe easily updated
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_common.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- evas_common.h 27 Feb 2006 14:03:27 -0000 1.54
+++ evas_common.h 28 Feb 2006 04:07:47 -0000 1.55
@@ -875,6 +875,10 @@
void evas_common_font_free (RGBA_Font *fn);
void evas_common_font_hinting_set (RGBA_Font *fn,
Font_Hint_Flags hinting);
Evas_Bool evas_common_hinting_available (Font_Hint_Flags hinting);
+RGBA_Font *evas_common_font_memory_hinting_load(const char *name, int
size, const void *data, int data_size, Font_Hint_Flags hinting);
+RGBA_Font *evas_common_font_hinting_load (const char *name, int
size, Font_Hint_Flags hinting);
+RGBA_Font *evas_common_font_hinting_add (RGBA_Font *fn, const char
*name, int size, Font_Hint_Flags hinting);
+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);
void evas_common_font_int_modify_cache_by(RGBA_Font_Int *fi, int
dir);
int evas_common_font_cache_get (void);
void evas_common_font_cache_set (int size);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_private.h,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- evas_private.h 18 Feb 2006 04:40:14 -0000 1.63
+++ evas_private.h 28 Feb 2006 04:07:47 -0000 1.64
@@ -330,6 +330,7 @@
unsigned int last_timestamp;
void *attach_data;
int last_click_counter;
+ Evas_Font_Hinting_Flags hinting;
};
struct _Evas_Layer
@@ -592,9 +593,12 @@
void (*font_cache_set) (void *data, int bytes);
int (*font_cache_get) (void *data);
+ /* Engine functions will over time expand from here */
+
+ void (*font_hinting_set) (void *data, void *font, int
hinting);
+ int (*font_hinting_can_hint) (void *data, int hinting);
/* void (*image_rotation_set) (void *data, void *image); */
- /* Engine functions will over time expand from here */
};
struct _Evas_Image_Load_Func
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs