Re: [AD] get_clip()

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


> I think they are.  set_clip_ex() deals with the clipping rectangle, and
> these two functions deal with turning clipping on and off.

Ok.

> > Moreover, I think we shoud devise a way to specify an "empty" clipping
> > rectangle (for which cl = cr and ct = cb) so that all drawing operations
> > are silenced, provided that it doesn't require an extensive rework of all
> > the drawing routines of the library.
>
> Is w=0, h=0 sufficient?

Yes, of course. But I wonder whether passing coordinates (a la set_clip) is 
not better than passing width and height.

-- 
Eric Botcazou



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