<?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>17893</bug_id>
          
          <creation_ts>2012-07-18 07:13:31 +0000</creation_ts>
          <short_desc>request: even/odd winding algorithm in addition to non-zero</short_desc>
          <delta_ts>2012-09-28 19:37:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>pomax</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70256</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:13:31 +0000</bug_when>
    <thetext>This was was cloned from bug 17784 as part of operation convergence.
Originally filed: 2012-07-15 16:09:00 +0000
Original reporter: Mike Kamermans &lt;pomax@nihongoresources.com&gt;

================================================================================
 #0   Mike Kamermans                                  2012-07-15 16:09:40 +0000 
--------------------------------------------------------------------------------
I&apos;d like to request that the canvas 2d context fill style is extended with support for the even/odd winding algorithm, in addition to the non-zero winding algorithm, so that drawing shapes on the canvas that are based on paths obtained from graphics sources that encode shapes using the even/odd winding algorithm can be drawn without having to manually analyse the path for subpaths that need their direction flipped.

Use cases are using image from .svg resource with the intention of using them as rasterised image data (not vector graphics) and shapes such as font outlines (for use as polygon graphics, not &quot;letters&quot;) to the canvas.

(As a bonus, this algorithm is already available for reuse in every current browser, since SVG requires algorithms both to be available, making implementing it for canvas 2d mostly a matter of hooking it up correctly)
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74829</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-28 19:37:31 +0000</bug_when>
    <thetext>I&apos;ll deal with this proposal when I handle this e-mail:
   http://lists.w3.org/Archives/Public/public-whatwg-archive/2011Jun/0123.html
   http://www.whatwg.org/issues/#New-features--canvas-fill-rule</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>