[Webkit-unassigned] [Bug 43259] New: Add the shadow offset as a parameter to the GraphicsContext::setShadow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 30 10:03:06 PDT 2010


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

           Summary: Add the shadow offset as a parameter to the
                    GraphicsContext::setShadow
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex at igalia.com
            Blocks: 39582


In order to draw fast shadow using tiling (bug 39582) we need to know the shadow offset defined in the html. My proposal is to add a parameter to GraphicsContext::setShadow, and store if in the GraphicsContext. Current API is: 

void GraphicsContext::setShadow(const FloatSize& size, float blur, const Color& color, ColorSpace colorSpace)

We will modify it to add this one:

void GraphicsContext::setShadow(const FloatSize& size, const FloatSize& offset, float blur, const Color& color, ColorSpace colorSpace)

We will add there the offset and the spread if required to point out the distance from the border of the shadow to the figure.

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



More information about the webkit-unassigned mailing list