[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Flood Fill



Got to thinking about why the check is needed on patterns. It is
because patterns can have large areas that are the same color. Also
you never now when the pattern sent will be a one pixel by one pixel
pattern that is needed to do a sold color fill.

On 11/30/05, Knapp <magick.crow@xxxxxxxxx> wrote:
> Even with pattern fills that check is needed. The program will lock up
> without the check. I just proved it to myself by locking it up without
> the check. With the check I can't lock it up. At first I thought that
> it was not needed too, but it is.
>
> Seems to me that if it can be done faster with one command than the
> other that the slow command could be sped up. Can't prove it but it
> seems logical.
>