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

Clarification on non-scaling stroke and markers

From: Philip Rogers <pdr@google.com>
Date: Tue, 5 Jun 2012 10:59:21 -0400
Message-ID: <CAJgFLLt=H7kmCvgLXSuMnaiSkNWcBQMr2GJoqHfHThisfErTLQ@mail.gmail.com>
To: www-svg@w3.org
www-svg,

I'm looking for clarification on non-scaling strokes and markers. Does
vector-effect=non-scaling-stroke on a path apply to its markers?

It looks like SVG 2 will be the first version of the spec supporting both
markers and non-scaling-stroke. I think it's least surprising to include
markers as part of the stroke so that they will be affected by
non-scaling-stroke. The marker spec hints otherwise: "*Properties inherit
into the 'marker' element from its ancestors; properties do not inherit
from the element referencing the 'marker' element*", which seems to say
that markers do not inherit the stroke element's non-scaling-property.

Markers: http://www.w3.org/TR/SVG/single-page.html#painting-Markers
Non-scaling-stroke:
http://www.w3.org/TR/SVGTiny12/single-page.html#painting-NonScalingStroke

Thank you,
Philip
Received on Tuesday, 5 June 2012 15:00:19 GMT

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