From: "Lou" Subject: Re: Intersection of 2 polygons Date: 20 Apr 1999 00:00:00 GMT Message-ID: References: <7fijlk$8pn$1@nnrp1.dejanews.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Trace: news6.ispnews.com 924639601 209.136.110.206 (Tue, 20 Apr 1999 16:20:01 EDT) NNTP-Posting-Date: Tue, 20 Apr 1999 16:20:01 EDT Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.objectpascal,alt.comp.lang.borland-delphi,alt.comp.borland-delphi If you have 2 polygon regions you can get the intersection of the 2 with: CombineRgn(hPolyRgn1, hPolyRgn2, hPolyRgn1, RGN_AND); I have a tip on my Delphi Tip of the Day that creates form shapes doing this. It is at http://members.truepath.com/delphi -- -- Lewis Howell lewishowell@yahoo.com Lou's Delphi Tip of the Day: http://members.truepath.com/delphi Lou's personal webpage: http://members.truepath.com/LewisHowell dhurka@hotmail.com wrote in message <7fijlk$8pn$1@nnrp1.dejanews.com>... >Hi all: > >I was wondering if anyone had written any kind of >Delphi code for finding intersection of 2 polygons ? >We deal a lot with geometric shapes in Blockbuster >and this will be very helpful code. > >Thanks in advance. Please reply to >archana.arkanath@blockbuster.com > >Archana > >-----------== Posted via Deja News, The Discussion Network ==---------- >http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own