SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Native backend for Mac OS X

From: Michiel de H. <mjl...@ya...> - 2008年10月28日 22:50:20
--- On Tue, 10/28/08, Christopher Barker <Chr...@no...> 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
 

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /