I reverted below changes because of the pageflip test case. 
But need to confirm that why evas_object_image is...
Is there any reason?
Otherwise, I prefer to change the concept of the evas_object_image map uv set.
Please somebody describe to me. ( --> raster :) ) 
------------------------------------
Let's run together for the best moment!
 -Regards, Hermet-
 
-----Original Message-----
From: "Enlightenment SVN"<no-re...@enlightenment.org> 
To: enlightenment-...@lists.sourceforge.net
Cc: 
Sent: 11-07-22(금) 14:24:16
Subject: E SVN: hermet trunk/evas/src/lib/canvasLog:
evas/evas_object_image - modified to keep the uv consistency with normal 
evas_object. 
 
 Although the uv range of normal object is be localized to the it's geometry, 
 
 but the uv range of the image object is be localized it's image size but not 
geometry size. 
 
 In that case, user should find out the objects type and set the uv value 
differently between normal and image
 
 why they do that?
 
 
Author: hermet
Date: 2011-07-21 22:24:16 -0700 (Thu, 21 Jul 2011)
New Revision: 61577
Trac: http://trac.enlightenment.org/e/changeset/61577
Modified:
 trunk/evas/src/lib/canvas/evas_object_image.c 
Modified: trunk/evas/src/lib/canvas/evas_object_image.c
===================================================================
--- trunk/evas/src/lib/canvas/evas_object_image.c 2011-07-22 01:48:20 UTC (rev 
61576)
+++ trunk/evas/src/lib/canvas/evas_object_image.c 2011-07-22 05:24:16 UTC (rev 
61577)
@@ -2657,8 +2657,8 @@
 pt->fx = p->px;
 pt->fy = p->py;
 pt->fz = p->z;
- pt->u = ((p->u * imagew) / uvw) * FP1;
- pt->v = ((p->v * imageh) / uvh) * FP1;
+ pt->u = ((p->u / obj->cur.geometry.w) * imagew) * FP1;
+ pt->v = ((p->v / obj->cur.geometry.h) * imageh) * FP1;
 if (pt->u < 0) pt->u = 0;
 else if (pt->u > (imagew * FP1)) pt->u = (imagew * FP1);
 if (pt->v < 0) pt->v = 0;
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
enlightenment-svn mailing list
enlightenment-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to