<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15026</bug_id>
          
          <creation_ts>2011-12-01 05:23:53 +0000</creation_ts>
          <short_desc>Need a mechanism to draw elliptical arcs. Once available this can be extended to draw an ellipse. 1. Current methods of drawing them with beziers/quadratic curves do not work well and are approximations. 2. Using arcto/arc followed by scaling distorts the</short_desc>
          <delta_ts>2011-12-07 20:48:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14579</dup_id>
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>avinandan.sengupta</cc>
    
    <cc>cam</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>kennyluck</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60715</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-12-01 05:23:53 +0000</bug_when>
    <thetext>Specification: http://www.w3.org/TR/2dcontext/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Need a mechanism to draw elliptical arcs. Once available this can be extended
to draw an ellipse.

1. Current methods of drawing them with beziers/quadratic curves do not work
well and are approximations.
2. Using arcto/arc followed by scaling distorts the strokestyle
3. Generating elliptical arcs by approximating lines, etc are tedious to
implement and error prone


Posted from: 192.203.57.28
User agent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.41 Safari/535.7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60716</commentid>
    <comment_count>1</comment_count>
    <who name="avi">avinandan.sengupta</who>
    <bug_when>2011-12-01 05:31:08 +0000</bug_when>
    <thetext>Any specific reason why this is not a part of the API? All well known drawing systems support this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60729</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-12-01 15:55:18 +0000</bug_when>
    <thetext>This is planned to be added next time canvas paths are revisited, along with a first-class Path object and other things.  So, just wait for it, and it will come.  ^_^</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60746</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2011-12-01 23:44:50 +0000</bug_when>
    <thetext>When we get to doing this, can we keep in mind that it would be beneficial to use the same objects for both SVG and canvas?  Having two kinds of path object in the platform seems suboptimal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61126</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-07 20:48:28 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 14579 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>