[AD] Pixel graphics routines and transformations |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
1. The simplest solution is to make all those functions respect the transformations, and modify the addon to reset the transformations to identity before it draws anything
2. Make a subset of those pixel drawing routines ignore transformations (e.g. al_put_pixel and al_get_pixel). However, this requires a solution for blended primitives (which need an untransformed equivalent to al_draw_pixel).
3. Avoid the whole issue by making all pixel drawing routines ignore transformations.
In addition to the above considerations, there may be teleological concerns. It might not even make sense for al_put_pixel/al_get_pixel to be affected by transformations since those are not 'true' graphics operations, instead being something that is used to modify textures or whatnot.
Any thoughts? -SiegeLord
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |