Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/cairo_x11 Modified Files: evas_engine.c Log Message: added the ability to set load scaledown, dpi or load size - the svg loader uses these to know what to render and how (or has defaults if these are not set) =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/engines/cairo_x11/evas_engine.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- evas_engine.c 7 Jun 2006 23:30:15 -0000 1.6 +++ evas_engine.c 18 Aug 2006 14:45:25 -0000 1.7 @@ -58,7 +58,7 @@ static int eng_gradient_alpha_get(void *data, void *gradient, int spread, int op); static void eng_gradient_map(void *data, void *context, void *gradient, int spread); static void eng_gradient_draw(void *data, void *context, void *surface, void *gradient, int x, int y, int w, int h, double angle, int spread); -static void *eng_image_load(void *data, char *file, char *key, int *error); +static void *eng_image_load(void *data, char *file, char *key, int *error, Evas_Image_Load_Opts *lo); static void *eng_image_new_from_data(void *data, int w, int h, DATA32 *image_data); static void *eng_image_new_from_copied_data(void *data, int w, int h, DATA32 *image_data); static void eng_image_free(void *data, void *image); @@ -862,18 +862,18 @@ } static void * -eng_image_load(void *data, char *file, char *key, int *error) +eng_image_load(void *data, char *file, char *key, int *error, Evas_Image_Load_Opts *lo) { Render_Engine *re; Evas_Cairo_Image *im; - + re = (Render_Engine *)data; if (error) *error = 0; im = calloc(1, sizeof(Evas_Cairo_Image)); if (!im) return NULL; - im->im = evas_common_load_image_from_file(file, key); + im->im = evas_common_load_image_from_file(file, key, lo); if (!im->im) { free(im); ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs