Re: [svgwg] Circles and markers (#956)

I don't believe the browsers support markers on shapes. Inkscape does.

The start and end markers should be at 3 o'clock, and the mid markers at 12, 6 and 9. The path goes in a clock-wise direction.

The decomposition of a circle into path segments is defined at https://www.w3.org/TR/SVG/shapes.html#CircleElement

You can use a path with four arc segments to mimic the expected behavior.


----- Original Message -----
| From: "Sarah Gebauer" ***@***.***>
| To: "w3c/svgwg" ***@***.***>
| Cc: "Subscribed" ***@***.***>
| Sent: Thursday, October 31, 2024 9:10:39 PM
| Subject: [w3c/svgwg] Cirlces and markers (Issue #956)
| 
| 
| 
| 
| 
| Spec
| 
| Hi, I've been messing with markers and circles and want to ask if
| there's an example how they should work together?
| 
| When I tried to add any marker attribute to a circle , nothing
| happened. When I tried it with path it did.
| < circle r =" 50 " cy =" 75 " cx =" 200 " class =" stroke-behind "
| marker-start =" url(#triangle) " marker-end =" url(#triangle) "
| marker-mid =" url(#triangle) "/>
| 
| I iterated through all three attributes but nothing happened.
| 
| When I looked at the spec, it says that it applies to all shapes but
| all the examples that I was able to find are with paths. Is there a
| place where I could see how it should work with circle ?
| 
| —
| Reply to this email directly, view it on GitHub , or unsubscribe .
| You are receiving this because you are subscribed to this thread.
| Message ID: <w3c/svgwg/issues/956 @ github . com>


-- 
GitHub Notification of comment by Tavmjong
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/956#issuecomment-2452931474 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 2 November 2024 09:18:26 UTC