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

Re: Offset or buffers

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Fri, 15 Dec 2006 10:23:56 +0000
Message-Id: <19832DAC-5855-458E-A470-06ADAE5DC5CD@btinternet.com>
Cc: <www-svg@w3.org>
To: <andy@centremaps.co.uk>

Andy,

this sounds remarkably like a request for a "border" property which  
was made some years ago...

HTML provides a border property which has proved helpful for  
accessibility, for instance to highlight a link on hover.

regards

Jonathan Chetwynd



On 14 Dec 2006, at 11:29, andy@centremaps.co.uk wrote:

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

CENTREMAPS® Manager

<image001.gif>


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
Received on Friday, 15 December 2006 10:30:44 GMT

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