Fixed the build, and added some more comments

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4003 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2003-07-17 06:43:03 +00:00
parent e1570b66f8
commit ec35b786c8

View File

@ -1,4 +1,5 @@
#include <Debug.h> #include <Debug.h>
#include <Region.h>
#include <clipping.h> #include <clipping.h>
#include "region_helpers.h" #include "region_helpers.h"
@ -250,6 +251,13 @@ copy_region_n(BRegion *source, BRegion *dest, long count)
} }
/*! \brief Modify the destination region to be the intersection of the two given regions.
\param first The first region to be intersected.
\param second The second region to be intersected.
\param dest The destination region.
Called by and_region() when the intersection is complex.
*/
void void
and_region_complex(BRegion *first, BRegion *second, BRegion *dest) and_region_complex(BRegion *first, BRegion *second, BRegion *dest)
{ {
@ -273,7 +281,13 @@ and_region_complex(BRegion *first, BRegion *second, BRegion *dest)
} }
/*! \brief Modify the destination region to be the intersection of the two given regions.
\param first The first region to be intersected.
\param second The second region to be intersected.
\param dest The destination region.
Called by and_region() when one of the two region contains just one rect.
*/
void void
and_region_1_to_n(BRegion *first, BRegion *second, BRegion *dest) and_region_1_to_n(BRegion *first, BRegion *second, BRegion *dest)
{ {