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

Marker issues

From: Andreas Neumann <neumann@karto.baug.ethz.ch>
Date: Mon, 02 Aug 2004 17:10:29 +0200
Message-ID: <410E5965.1010207@karto.baug.ethz.ch>
To: www-svg@w3.org

Hello!

Here are three requests concerning markers:

1. - Additional marker types
------------------------------------

SVG 1.1 has three different marker types:

* marker-start
* marker-mid
* marker-end

marker-start and marker-end are currently "globally" - which means for 
several subpaths (with several moveto commands) they are just rendered once.

I would like to propose a two additional marker type:

* marker-start of subpath
* marker-end of subpath

In many cases we would like to use different markers for begin and end 
of a sub-path (inner path nodes, as described in the SVG 1.2 vector 
effects section) as well. Currently, these are just rendered with 
marker-mid.

We could call these markers "marker-inner-start" and "marker-inner-end" 
or something similar.

2. Markers Inheriting Stroke Attributes
-------------------------------------------------

In many cases (esp. with simpler markers, such as circles, triangles and 
rects) it is desireable if the marker attributes would inherit from the 
stroke of an element. If one changes f.e. the colour of a stroke it 
should automatically change the marker colours. Of course, this only 
works for simpler markers. I would propose to add a "inherit-stroke", 
"inherit-fill", "inherit-both", "inherit-none" attribute. Also,  there 
might be two cases to solve if the stroke of an element has an opacity. 
In some cases one wants the markers to inherit the stroke-opacity, in 
some cases they should not inherit it but stay opaque.

3. Events on Markers
---------------------------

I previously sent a mail to this list a few months ago about adding 
events to markers. See mail from 
http://lists.w3.org/Archives/Public/www-svg/2004Jan/0026.html where I 
listed requirements and use-cases. Unfortunately, I never got an answer 
to that mail. Is there any update on this?

Use cases for my feature requests can be found in cartography, GIS, 
business graphics and CAD.

Is there any possibility that, at least the features, that aren't 
complicated to implement could make it into the SVG 1.2 spec?

Thanks for your answers and all the best,

Andreas Neumann
Received on Monday, 2 August 2004 11:10:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:53 UTC