Apparently there is a difference between how
SVG
stroke-dasharray="5,7"
and XAML
StrokeDashArray="5,7"
treat the offsets for a strokedasharray (neutral spelling). The example used is from Wikipedia (http://en.wikipedia.org/wiki/Image:Lobes_of_the_brain_NL.svg) with my own transformations.
Abonneren op:
Reacties posten (Atom)
3 opmerkingen:
SVG Spec: http://www.w3.org/TR/SVG11/painting.html#StrokeDasharrayProperty
XAML Spec: http://msdn2.microsoft.com/en-us/library/bb188513.aspx
Looks like in XAML/WPF the numbers are in units of "stroke width" while in SVG the numbers are in the coordinate space...
I find your work in this area quite appealing. Do you have a project site (such as on code.google or sousrceforge) where you keep your SVG to XAML converter?
You also mentioned at one time you were working on an XAML to SVG converter, is that work available anywhere?
I've been meaning to really learn the SVG and XAML formats for a while and since I already know XSLT pitching into help with your To-Do items on the converters sounds like a fun way to pass some time :)
快下班囉~來問個安,跟您打聲招呼.................................................................
Een reactie posten