W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2012

[Bug 17784] New: request: even/odd winding algorithm in addition to non-zero

From: <bugzilla@jessica.w3.org>
Date: Sun, 15 Jul 2012 16:09:41 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-17784-2486@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17784

           Summary: request: even/odd winding algorithm in addition to
                    non-zero
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Canvas 2D Context
        AssignedTo: ian@hixie.ch
        ReportedBy: pomax@nihongoresources.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


I'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 "letters") 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)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 15 July 2012 16:09:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 15 July 2012 16:09:43 GMT