Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir     : e17/proto/epdf/src/bin


Modified Files:
        epdf_evas_test.c 


Log Message:
orientation and scaling support. Various fixes

===================================================================
RCS file: /cvs/e/e17/proto/epdf/src/bin/epdf_evas_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- epdf_evas_test.c    12 Mar 2006 20:15:46 -0000      1.3
+++ epdf_evas_test.c    16 Apr 2006 21:48:04 -0000      1.4
@@ -76,8 +76,12 @@
 
   o = evas_object_image_add (evas);
   evas_object_move(o, 0, 0);
-  evas_poppler_page_render (page, o, 0, 0, 0, 0, 72.0, 72.0);
+  evas_poppler_page_render (page, o,
+                            EVAS_POPPLER_PAGE_ORIENTATION_PORTRAIT,
+                            0, 0, -1, -1,
+                            1.0, 1.0);
   evas_object_show(o);
+  ecore_evas_resize (ee, evas_poppler_page_width_get (page), 
evas_poppler_page_height_get (page));
 
   ecore_main_loop_begin ();
 




-------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to