What is a Blit in SDL?

前端 未结 4 1377
野趣味
野趣味 2021-02-18 14:29

In the SDL wiki it says

Use this function to perform a fast blit from the source surface to the destination surface.

However that

4条回答
  •  既然无缘
    2021-02-18 14:53

    Blitting means bit-boundary block transfer as defined by Wikipedia or Block Information Transfer, well known among the Pygame developers. Assume you have a Surface(your screen). And you would like to draw a circle on the screen. So what you want to do is, draw the circle and transfer the circle block of the buffer to the screen buffer, this process is called "Blitting". You can go ahead and read more about Blit here.

提交回复
热议问题