[cairo] Confusion on Windows (re-send)

Mohit Sindhwani ml3p at onghu.com
Thu Aug 6 18:13:45 PDT 2009


Gerdus van Zyl wrote:
> Well you need a timer or a loop, then every few miliseconds you simply
> move the image a little closer to where it should be at the end. You
> draw as you usually do in cairo.
>
> See this excellent article on the matter:
> http://www.robertpenner.com/easing/penner_chapter7_tweening.pdf and
> http://www.robertpenner.com/easing/
Thanks Gerdus,

Wouldn't it be better if we drew the image once into an off-screen 
buffer and BitBlt only portions of it, rather than redraw different  
sizes since the redrawing is likely to be more expensive?

Cheers,
Mohit.
2009/08/07 | 9:13.



More information about the cairo mailing list