Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.help Subject: Re: Map co-ordinate polygons Date: Thu, 28 Apr 2011 11:35:27 -0400 Organization: A noiseless patient Spider Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 28 Apr 2011 15:33:33 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="66+B4XK2fUYI7mQKoMaOgA"; logging-data="22336"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19V8p1CnkrgP2f27rwUnm3cIwmoGox/7QU=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: Cancel-Lock: sha1:r77ZOQtpBu6JAqxzQVfuhPl4exg= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:662 On 02/23/2011 08:22 PM, Roedy Green wrote: > Perhaps you could convert this to a low-res pure polygon by drawing > the image with the curved segments, then somehow drawing a > circumscribed polygon and inscribed polygon and adding new points > common to both at the spots where they differ most. What's a low-res pure polygon? Build a Path2D, and use FlatteningPathIterator to approximate the cubic curves with line segments.