This is a Cairo graphics tutorial.
It is done in C programming language.
There are two different computer graphics:
1. Vector
2. Raster
The advantages of vector graphics over raster are:
1. smaller size
2. aility to zoom indefinitely
3. moving, scaling, filling or rotating does not degrade the quality of an image
Cairo is a library for creating 2D vector graphics. It is written in the C programming language.
The Cairo library is part of the GTK+ system.
gcc -o example example.c `pkg-config --cflags --libs gtk+-2.0`