[wxpython-users] FloodFill on OSX

Timothy Grant timothy.grant at gmail.com
Thu Apr 3 15:47:23 PDT 2008


On Thu, Apr 3, 2008 at 3:40 PM, Robin Dunn <robin at alldunn.com> wrote:

> Timothy Grant wrote:
>
>
> > The FloodFIll always prints "flood not successful" and I'm not sure what
> > I'm doing wrong.
> >
>
>
> IIRC there isn't a FloodFill equivalent on OSX so wx just did it using a
> generic function that looks at the screen buffer and does the filling in a
> slow and brute force way.  However now that we've switched to the
> CoreGraphics API we no longer have access to the screen buffer and so that
> is probably why it doesn't work now.
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
>
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>

Robin,

Thanks for that information. I was trying to figure out what the heck I was
doing wrong. I switched my code to just draw rectangles and all works as
expected now.



-- =

Stand Fast,
tjg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200804=
03/655ab0f4/attachment.htm


More information about the wxpython-users mailing list