Draw shapes to the bitmap in memory