logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

add_clip_rect - Intersects a bitmap's clipping rectangle with the given area. Allegro game programming

Description

       Sets the clipping rectangle of the specified bitmap as the intersection of its current clipping rectangle
       and the rectangle described by the four coordinates.

Name

       add_clip_rect  -  Intersects  a bitmap's clipping rectangle with the given area. Allegro game programming
       library.

See Also

set_clip_rect(3alleg4), get_clip_rect(3alleg4), set_clip_state(3alleg4), get_clip_state(3alleg4)

Allegro                                           version 4.4.3                           add_clip_rect(3alleg4)

Synopsis

#include<allegro.h>voidadd_clip_rect(BITMAP*bitmap,intx1,inty1,intx2,inty2);

See Also