Re: [AD] al_clear

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, 2009-03-11 at 22:34 +1100, Peter Wang wrote:
> Shouldn't al_clear() be called al_clear_bitmap(),

If it was named al_clear_bitmap, I would expect it to take a bitmap as
first parameter (like al_draw_bitmap) and then clear that bitmap.

Right now, al_put_pixel() and al_clear() are two special functions which
are in some way more low-level than the regular drawing functions
(because they ignore blending). We could rename it to:

al_clear_pixels()

maybe.

> and documented
> in the Graphics part of the manual instead of under Display?
> 

Yes, it's a graphics function, it's out of place in the display section
right now. Also it's documentation should be much more detailed :P

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/