On Sat, 1 Aug 2009, [email protected] wrote:

> Hi guys,
>
> always in my tests and reflxions about plotting curves! I wonder which 
> of the objects is adequate for ploting curves? I tried 
> evas_object_image, but when I plot a curve and I resize the window with 
> the mouse, the pixel representing the data point is also resized. This 
> is not what I want. Is there a purpose to do so? i.e an object which 
> when I plot a curve on it (every data point in the curve is then 
> represented with one pixel) and then resize the widow, the data point 
> remaine represented with one pixel.

This behavior is normal: it is an image and, when resized, an algorithm is 
used to interpolate the new values. If you change the size, all the pixels 
will be changed.

I think that you have to manage yourself the resize event. I.e., if the 
evas object is resized, you have to redraw the axis lines, the grid if 
any, and draw the points according to this new size.

Vincent

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to