Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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