> We have already a BRegion implementation in the CVS. Though it follows BeOS's > BRegion design very closely, that means rects aren't ordered by their top and > left coordinates (like XFree's regions), but just by their top coordinate. > Rects never overlap, so I guess it can be used for clipping. Anyway, you can > have a look at my implementation in the CVS. It's tested and it works > correctly. BTW, I forgot... If you can work out my implementation to be faster than anything else (as you seem to know these things better than me), you're welcome :)