Blitting
Blitting, short for bit-block transfer, is a computer graphics operation that copies rectangular blocks of pixel data from a source bitmap to a destination surface. The operation is fundamental in raster-based graphics systems and underpins sprite rendering, scrolling, GUI compositing, and double-buffered frame updates. A blit typically specifies a source rectangle, a destination position, and optionally a set of pixel operations such as simple copy, transparency (color key), or alpha blending. More advanced variants support stretching (scaling), masking, and partial updates.
Historically, blitting was implemented in both software and hardware; early systems used CPU-driven copies, while modern
Common use cases include rendering sprites from a sprite sheet to the screen, scrolling a background by