Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Pygame 中,surface.blit 有一个 special_flags 参数。这使您可以以不同于简单复制它们的方式组合像素。例如,乘法模式可让您将像素相乘。
如何使用 C 中的 SDL 实现此目的?我查看了 SDL 文档,但没有看到任何明显的方法。
手动;请参阅 SoftBlitPyGame()。