Surface content can be copied from one surface to another by a method called blitting. Select a rectangle of pixels to copy and blit onto a surface.
There are two types of blits: regular and fast blits. Regular blits can have rotated, scaled and flipped surfaces while blitting, while fast blits cannot. Fast blits are optimized for speed, so it's good practice to use as many fast blits as possible.
A transparency color can be selected with a color key. Additional color filters for blitting surfaces with special effects are available too.
In the following samples a sprite is blitted from the spritesheet (first image) onto a background (second image). A magenta color key is used.
EDGELIB 2.90 introduced blitlets. Using blitlets you can select optimized blitter routines for each color filter combination to speed up blitting-intensive operations. By removing optimized blitter routines not used by the application, the final executable will be smaller.