[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2002-11-04, Vincent <vincent.penquerch@xxxxxxxxxx> wrote:
> On Sun, Nov 03, 2002 at 10:31:46AM +0100, Eric Botcazou wrote:
> > > void get_clip(BITMAP *bitmap, int *rx, int *ry, int *rw, int *rh);
> > > Get the clipping rectangle of a bitmap.
> >
> > What does it return when clipping is turned off ?
>
> I'd make it return a boolean, whether clipping is enabled or not.
My get_clip() is only the opposite of set_clip_ex(). Your get_clip() is
the opposite of set_clip_ex() + enable/disable_clipping(). Either is
okay, but of course I like mine better :-)
--
王浩禎