Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/engines/gl_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/gl_x11/evas_engine.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evas_engine.c       7 Jun 2006 23:30:15 -0000       1.12
+++ evas_engine.c       18 Aug 2006 14:45:25 -0000      1.13
@@ -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);
@@ -819,14 +819,14 @@
 }
 
 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;
 
    re = (Render_Engine *)data;
    *error = 0;
    eng_window_use(re->win);
-   return evas_gl_common_image_load(re->win->gl_context, file, key);
+   return evas_gl_common_image_load(re->win->gl_context, file, key, 
Evas_Image_Load_Opts *lo);
 }
 
 static void *



-------------------------------------------------------------------------
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

Reply via email to