[wxPython-users] Re: Trouble with drawing, I need some ideas
:)
Robin Dunn
robin at alldunn.com
Mon Oct 22 09:41:35 PDT 2007
Christopher Barker wrote:
> Peter Damoc wrote:
>> I was thinking that almost all drawing is done off-screen and that the
>> library that does the background drawing is the main reason for
>> certain performances issues.
>> I didn't imagine that the final blitting to the pdc could be that
>> costly. :)
>
> Have you tried anything yet?
>
> All I know is that with the old DC method, a masked bitmap was
> apparently a non-native concept, so wx had to loop through all the
> pixels, check the mask, then draw or not draw the given pixel.
I think you're thinking of blitting a bitmap on OS X with a logical
operation other than wx.COPY. I don't recall any pixel iteration code
just for masks...
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list