Storing the clipping rectangle with al_store_state
neo_en2

Hi,
There is a way to store the clipping rectangle information with al_store_state?
Should this be a nice feature to introduce?

Edgar Reynaldo

If you read al_store_state, you can see that it does indeed store the clipping rectangle.

ALLEGRO_STATE s;
al_store_state(&s, ALLEGRO_STATE_TARGET_BITMAP);
...
al_restore_state(&s);

Thread #617808. Printed from Allegro.cc