W3C home > Mailing lists > Public > www-svg@w3.org > December 2006

Offset or buffers

From: <andy@centremaps.co.uk>
Date: Thu, 14 Dec 2006 11:29:00 -0000
To: <www-svg@w3.org>
Message-ID: <000001c71f73$11222920$4000a8c0@ANDYT>


First of all, very excited about SVG and very positive about all the great
(very clever) people contributing to the Firefox support particularly since
the announcement of the withdrawal of the Adobe plug-in. It seems especially
relevant that Internet Explorer doesn't appear to offer any sign of taking
on board SVG natively.


We're doing various bits with SVG but really just using the existing tools.
I wondered whether anyone has already worked on a function which would
create a shape offset by a set distance from an initial polygon. The
particular example I have in mind is the intention of creating a 'buffer'
around a line - in the real world this might be to illustrate all items with
in 1 kilometre of the outline of an industrial estate.


I couldn't see anything immediately obvious in the info pages (sorry if I've
missed an 'offset' command) and whilst I think I can mathematically generate
the line to include semi round lines around corners, I'm sure that a built
in command will be far more efficient and elegant in its design.


Any feedback would be greatly received.


Kind Regards




Andrew Terry



Tel: +44 (0)1886 832 972 |  Fax: +44 (0)1886 833 485

www.centremaps.co.uk | www.centremapslive.co.uk


Brockamin House, Leigh, Worcester, WR6 5JU


(image/gif attachment: image001.gif)

Received on Friday, 15 December 2006 07:59:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:09 UTC