Re: [AD] New clipping API

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


On 2003-11-24, Eric <ebotcazou@xxxxxxxxxx> wrote:
>    Note that passing "out-of-bitmap" coordinates is allowed, but they are
>    likely to be altered for the sake of internal consistency (and, therefore,
>    won't likely be returned unmodified by get_clip_rect). However, such a
>    modification is guaranteed to preserve the external effect of the clipping
>    rectangle, that is not to modify the actual area of the image it is ok to
>    draw into.

It's a tiny bit complicated.

     Note that passing "out-of-bitmap" coordinates is allowed, but they are
     likely to be altered (and so the coordinates returned by get_clip_rect()
     would return be different). However, such modifications are guaranteed to
     preserve the external effect of the clipping rectangle, that is not to
     modify the actual area of the image that it is ok to draw onto.

-- 
王浩禎




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