[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Evas and sub-pixel resolution



On Monday 03 April 2006 22:26, Jason Tackaberry wrote:
> On Tue, 2006-04-04 at 12:03 +0900, Carsten Haitzler wrote:
> > a bit of a pipe dream as it's either
> > 1. really expensive as you basically have to render N times more pixels
> > and
>
> Doesn't opengl support subpixel resolution?
>
> What I'm trying to do is a Ken Burns type effect for a photo slideshow,
> where it scales and pans the image slowly.  This is only possible using
> subpixel positioning and scaling.  (Well, that is assuming I don't want
> it to look corny :))
>

You can always keep your own geometry struct (with floats for x, y, w, h), 
update THAT each tick, and then round to ints for your 
evas_object_move/resize calls.

--
rephorm