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

Re: [pygame] Fill doesn't seem to work as expected.



Charlie Nolan wrote:

def naive_fill(self, color, rect, flags):
    blit_me = pygame.Surface(rect[2:])
    blit_me.fill(color, None, flags)
    self.blit(blit_me, rect)

Seems to me this is what draw.rect *should* be equivalent
to. Is that the case these days?

--
Greg