Path: utzoo!attcan!uunet!cs.utexas.edu!usc!apple!sun-barr!ccut!kogwy!wnoc-tyo-news!dclsic!sjc!spider!leia!harkcom From: harkcom@potato.pa.Yokogawa.CO.JP (Alton Harkcom) Newsgroups: comp.windows.x Subject: Re: Using XPolygonRegion for getting pointer locations Message-ID: Date: 19 Jul 90 23:23:34 GMT References: <23220@dartvax.Dartmouth.EDU> Sender: news@leia.pa.yokogawa.co.jp Distribution: comp Organization: Yokogawa Electric Corporation, Tokyo, Japan. Lines: 19 In-reply-to: kriso@northstar5's message of 18 Jul 90 00:42:57 GMT I can't see anything wrong with your code(I'm an amatuer though) so it might be in the data itself... I have almost finished an X version of (dare I say it from fear of lawsuit) Risk. The problems I had at first were... my data was in CoordModePrevious format, so I had to translate it into CoordModeOrigin format to create the region. and an error in my translation algorithm caused the regions not to be scaled so I ended up with a tiny region but a large filled polygon (you can't see the little suckers so it's hard to debug something like this...) It would be nice if there was a routine that could read what youv'e written into a region and display it as a polygon... -- --harkcom@potato.pa.yokogawa.co.jp