[Webkit-unassigned] [Bug 19789] New: [CAIRO] stroke and fill color in Canvas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 27 05:29:14 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19789

           Summary: [CAIRO] stroke and fill color in Canvas
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
               URL: http://developer.mozilla.org/samples/canvas-
                    tutorial/5_4_canvas_scale.html
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vbs85 at gmx.de


If you apply a fill and a stroke color to the context, the last defined color
is used to fill a path/rect (strokeRect() isn't apllied at all).

It's because solid colors are applied to one source pattern. We can't save
different colors in cairo.
But perhaps we can use patterns for solid colors?
A fill pattern and a stroke pattern to fill/stroke pathes/rects with this
patterns combined with CAIRO_EXTEND_REPEAT.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list