[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2009-03-11, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> 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.
Hmm, not really. al_draw_bitmap() doesn't draw onto the bitmap in its
argument list either.
Or al_clear_target_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()
Don't really like it.
Peter