--- On Tue, 10/28/08, Christopher Barker <[EMAIL PROTECTED]> wrote:
> > 4) One drawback compared to the existing cocoa-agg
> > backend is that the latter allows easy integration
> > of matplotlib into a larger cocoa application,
> > whereas my backend only cares about matplotlib.
>
...
> Is there any possibility to embed it in another app? I know
> that wx, for instance, can pass a Window handle to other
> libs, so that you can have that window managed and drawn
> by other code, while wx handles the rest of the app --
> would this kind of thing be possible with your code with
> wx, and Cocoa, and QT, and ?
That is a good idea. I'll check whether it is possible. Basically, if the
embedding app can manage a window by passing it the window handle then it
should be possible.
> I'm still curious where all this speed comes from. MPL
> already uses Agg
> for a lot, and it's generally reported to be as fast as
> many native
> drawing APIs (though maybe not quartz?)
>
At this point, most of it is coming from having complete control over the event
loop, which allows to avoid superfluous calls to draw().
Best,
--Michiel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel