Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4345666
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:04:02+00:00 2026-05-21T12:04:02+00:00

The following can draw two arcs easily using SVG, and it works on Firefox

  • 0

The following can draw two arcs easily using SVG, and it works on Firefox or Chrome:

sample page: http://jsfiddle.net/j8aN9/

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="80" height="80">

<path fill="none" stroke="#41b419" d="M40,5A35,35,0,1,1,5,40.00000000000001" style="stroke-width: 10px; " stroke-width="10"></path>

<path fill="none" stroke="#b5e5a5" d="M5,40.00000000000001A35,35,0,0,1,39.999999999999986,5" style="stroke-width: 10px; " stroke-width="10"></path>

</svg>

can VML do that easily too, so that it works even on IE 7 and up? (can you give an example of drawing such arc like above?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T12:04:03+00:00Added an answer on May 21, 2026 at 12:04 pm

    The VML equivalent would be something like:

    <?xml:namespace prefix = rvml ns = "urn:schemas-microsoft-com:vml" />
    <rvml:group style="POSITION: absolute; WIDTH: 1000px; HEIGHT: 1000px; TOP: 0px; LEFT: 0px" class=rvml coordsize = "10000,10000">
        <rvml:shape style="WIDTH: 1000px; HEIGHT: 1000px" class=rvml coordsize = "1000,1000" filled = "f" stroked = "t" strokecolor = "#41b419" strokeweight = "7.5pt" path = " m400,50 c669,50,838,342,703,575,568,808,232,808,97,575,66,522,50,461,50,400 e">
          <rvml:fill class=rvml></rvml:fill>
          <rvml:stroke class=rvml opacity = "1" miterlimit = "8"></rvml:stroke>
        </rvml:shape>
    </rvml:group>
    <rvml:group style="POSITION: absolute; WIDTH: 1000px; HEIGHT: 1000px; TOP: 0px; LEFT: 0px" class=rvml coordsize = "10000,10000">
        <rvml:shape style="WIDTH: 1000px; HEIGHT: 1000px" class=rvml coordsize = "1000,1000" filled = "f" stroked = "t" strokecolor = "#b5e5a5" strokeweight = "7.5pt" path = " m50,400 c50,207,207,50,400,50 e">
          <rvml:fill class=rvml></rvml:fill>
          <rvml:stroke class=rvml opacity = "1" miterlimit = "8"></rvml:stroke>
        </rvml:shape>
    </rvml:group>
    

    But I discovered this by using Raphaël to draw the shape and then getting the markup with developer tools:

    var paper = Raphael(document.getElementById("drawing"), 80, 80);
    var c1 = paper.path("M40,5A35,35,0,1,1,5,40.00000000000001");
    c1.attr({
        fill: "none",
        "stroke": "#41b419",
        "stroke-width": "10"
    });
    var c2 = paper.path("M5,40.00000000000001A35,35,0,0,1,39.999999999999986,5");
    c2.attr({
        fill: "none",
        "stroke": "#b5e5a5",
        "stroke-width": "10"
    });
    

    Using Raphaël might be a better approach all round if you need to support both IE and SVG capable browsers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

the pixman image library can draw radial color gradients between two circles. I'd like
I was wondering whether the following can be easily implemented in OpenGL: divide window
I'm using the following to draw rounded-corner rectangles in my Android application and it
I am using cvHoughCircles to find the two white ovals in the following image:
Essentially I'm wondering if the following can be done in Ruby. So for example:
The following code can be found in the NHibernate.Id.GuidCombGenerator class. The algorithm creates sequential
I know the following function can be used to do some pre-save processing. But,
For example the following cast can be found littered throughout the MSDN documentation: (LPTSTR)&lpMsgBuf
I think the following code can be used to create manipulators. #include<iostream> ostream &
If I do the following I can convert from a time_struct object to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.