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>
Hi,

 

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

 

Andy

 

Andrew Terry

CENTREMAPSR Manager

 

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

 






image001.gif
(image/gif attachment: image001.gif)

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

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:36 GMT