Letractively / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Support Marker Element #373

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to http://code.google.com/p/svgweb/
2. Folow the last link in the DEMOS section:
http://codinginparadise.org/projects/svgweb/tests/
3. Do any test:
(e.g.)http://codinginparadise.org/projects/svgweb/tests/htmlObjectHarness/full-p
ainting-marker-03-f.html.
You can see it OK.
4. Do the test, forcing flash render: 

http://codinginparadise.org/projects/svgweb/tests/htmlObjectHarness/full-paintin
g-marker-03-f.html?svg.render.forceflash=true

What is the expected output? What do you see instead?
It should be rendered, but in Firefox it is not.

What version of the product are you using? On what operating system,
browser, and version of Flash?

Win XP, Firefox 3.5.4.

Please provide any additional information below. Reduced test cases are
always appreciated!

Original issue reported on code.google.com by clama...@hotmail.com on 1 Nov 2009 at 3:02

GoogleCodeExporter commented 8 years ago
It's working for me. Can you provide some more details on what version of 
Firefox and
Flash you have installed?

Original comment by bradneub...@gmail.com on 10 Nov 2009 at 9:25

GoogleCodeExporter commented 8 years ago

Original comment by bradneub...@gmail.com on 10 Nov 2009 at 9:25

GoogleCodeExporter commented 8 years ago
Firefox 3.5.4
Flash player version 10,0,32,18 installed.

This:
http://codinginparadise.org/projects/svgweb/samples/demo.html?name=139
is rendered.

But this:
http://codinginparadise.org/projects/svgweb/tests/htmlObjectHarness/full-paintin
g-marker-03-f.html?svg.render.forceflash=true
is NOT rendered.

Original comment by clama...@hotmail.com on 11 Nov 2009 at 9:12

GoogleCodeExporter commented 8 years ago

Original comment by bradneub...@gmail.com on 11 Nov 2009 at 7:01

GoogleCodeExporter commented 8 years ago
I believe this has to do with the lack of support for the <marker> element.

Here is an example of putting arrow heads on lines using markers.

http://demo.syntactica.com/exist/rest/db/test/svg/econ/10-arrow-test.html

This works find under native but not yet on flash.

<defs>
                    <marker id="Arrow-Head" viewBox="0 0 10 10" refX="1" refY="5"
markerUnits="strokeWidth" orient="auto" markerWidth="4" markerHeight="3">
                        <polyline points="0,0 10,5 0,10 1,5" fill="black"></polyline>
                    </marker>
                </defs>
                <line x1="20" y1="182.5" x2="20" y2="30" stroke="black"
stroke-width="5" marker-end="url(#Arrow-Head)"></line>
                <line x1="20" y1="180" x2="270" y2="180" stroke="black"
stroke-width="5" marker-end="url(#Arrow-Head)"></line>

Original comment by dan.mccr...@gmail.com on 3 Dec 2009 at 2:46

GoogleCodeExporter commented 8 years ago
I don't think we support the marker element yet.

Original comment by bradneub...@gmail.com on 3 Dec 2009 at 4:30