W3C home > Mailing lists > Public > www-svg@w3.org > November 2012

Re: Label Point of Polygons

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Mon, 19 Nov 2012 12:00:34 +0100
To: www-svg@w3.org
Message-Id: <201211191200.35300.Dr.O.Hoffmann@gmx.de>
Andreas Neumann:

> The other problem we need to solve, is what happens when a single SVG 
> path is made of multiple polygons. Do we only expose the label point of 
> the biggest polygon or one for each sub-path? IMO this should be 
>  user-configurable.

One can expand this argument to symmetrical objects, having multiple same
sized areas, just rotated or mirrored.
If one has for example an object with a discrete five-fold rotation symmetry
(a non-konvex polygon, simple enough, that it can be realised with the polygon
element) and the main areas outside the rotation center and
the rotation center not belonging to the shape, either one gets the rotation
center as the central point or one gets five centers, not just one.
Due to this symmetry reason there is not necessarily a unique solution, if it
is not acceptable, that the center point can be outside of the shape.


Olaf
Received on Monday, 19 November 2012 11:47:39 GMT

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