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 19:10:01 -0400 Organization: A noiseless patient Spider Lines: 13 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 23:08:05 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="66+B4XK2fUYI7mQKoMaOgA"; logging-data="16090"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FnAU88QTSJsUUqAw3X3irCAoY+brBMnk=" 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:EiJpAA8uIW6fjpaiJOTOYEt6OmY= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:664 On 04/28/2011 11:35 AM, Jeff Higgins wrote: > 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. >