Rafael Latowicz

Results 24 comments of Rafael Latowicz

@MyreMylar ``` screen.blit(pygame_surface, (0,0)) # Default blend vs screen.blit(pygame_surface, (0,0), special_flags=pygame.BLEND_PREMULTIPLIED) vs screen.blit(pygame_surface, (0,0), special_flags=pygame.BLEND_ALPHA_SDL2) ``` There won't be a difference using any of those 3, for the example given?...

At the moment, a fix is to use PIL (or something) to do the conversion BGRA (cairo surface) to RGBA (pygame image), The above code with an example fix, ```...

It should also be noted that at present, the demo, [pygame-demo.py](https://github.com/pygobject/pycairo/blob/master/examples/pygame-demo.py) and the pycairo docs, [Pygame & ImageSurface](https://pycairo.readthedocs.io/en/latest/integration.html#pygame-imagesurface) are incorrect.

Hi, Looking at the lib source code, **image()** doesn't appear to do a resize. Although the docs suggest it should if you give **image()** a width and height Until that...