[comp.windows.x] manipulating regions in X

wen@robots.ox.ac.uk (Wu Wen) (05/13/91)

i am using regions to do simple 2-d geometric calculations and here is 
the problem:

i create an arry of regions world_region[i] use XPolygonRegion(),
XPointInRegion() works with world_region[i], but when i use
XIntersectRegion() it complains the type of world_region[i].

if i declare Region world_region instead of Region world_region[10],
it wont complain. can someone tell me why? and also how to make a copy
of a region? thanks.