Graphics routines

These functions are declared in the main Allegro header file:

#include <allegro5/allegro.h>

Colors

Locking and pixel formats

Bitmap creation

Bitmap properties

Drawing operations

All drawing operations draw to the current "target bitmap" of the current thread. Initially, the target bitmap will be the backbuffer of the last display created in a thread.

Blending modes

Clipping

Graphics utility functions

Deferred drawing

Image I/O