On 10/15/2010 04:37 PM, Michiel de Hoon wrote:
> Hello,
>
> Recently I tried to get animations to work for the Mac OS X backend with the
> new timer framework by implementing a TimerMac class that inherits from
> backend_bases.TimerBase. This seems to work fine; the code is uploaded to SVN
> if you'd like to try it.
>
> I am not sure what to do about blitting though. I can imagine two uses for
> blitting: Either to make sure that the next figure appears instantaneously as
> a whole after it has been drawn off-screen, or to precalculate a background
> figure that is used repeatedly, and upon which the changing parts of the
> figure are drawn.
>
> The latter would make sense for the Mac OS X backend also, but the former
> would not. Effectively, because of double buffering in Quartz all figures are
> automatically blitted already.
>
> So my question is: What is the purpose of blitting for animations in
> matplotlib?
As far as I know, it is only the second--speeding up the animation by
not having to recalculate and redraw so much.
Eric
>
> Best,
> --Michiel.
>
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel