W3C home > Mailing lists > Public > www-svg@w3.org > August 2005

Re: Request for Future Feature: Star Element

From: Olaf Schnabel <schnabel@karto.baug.ethz.ch>
Date: Mon, 29 Aug 2005 08:55:46 +0200
Message-ID: <4312B172.2020900@karto.baug.ethz.ch>
To: Doug Schepers <doug@schepers.cc>
CC: www-svg@w3.org

Hi Doug

you are right, a pie sector is a very special shape. A triangle is much 
more common. But a triangle can easily created as a polygon with 3 edges 
(okay, it's a symmetric triangle, but you can scale it.).

And yes, you can overlay the pies to get a ring sector, but than you 
have to create again 2 pie sectors (very complex path elements). If you 
use a discrete banded radial gradient, you can't use patterns. In my 
opinion there's no easy way to generate such a shape without going into 
the complex path syntax.

Ciao
Olaf

Doug Schepers wrote:
> Hi, Olaf-
> 
> | Olaf Schnabel wrote:
> | |
> | | In my opinion we need 2 new graphic elements:
> | | - a regular polygon with radius, inner radius, number of edges
> | | - a pie sector with angle, start angle, radius (and maybe an inner 
> | | radius for ring sectors)
> 
> Oh, one other thing. Ring sectors could be done pretty simply another way,
> by overlaying pies of various sizes, or by using a discrete banded radial
> gradient.
> 
> Regards-
> Doug
> 
> 

-- 
Olaf Schnabel
Department of Cartography
Swiss Federal Institute of Technology (ETH)
ETH Hoenggerberg, CH-8093  Zurich, Switzerland
phone: ++41 44 633 3031
e-mail: schnabel@karto.baug.ethz.ch
www: http://www.ika.ethz.ch/schnabel
Received on Monday, 29 August 2005 06:54:09 GMT

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