[Webkit-unassigned] [Bug 5968] Add support for spreadMethod=reflect and repeat on SVG gradients (for CoreGraphics platforms)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 13 14:28:18 PDT 2018


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

--- Comment #15 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 349688
  --> https://bugs.webkit.org/attachment.cgi?id=349688
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=349688&action=review

> Source/WebCore/platform/graphics/cg/GradientCG.cpp:121
> +                CGContextRotateCTM(platformContext, angle);

What is the origin of this rotation?

> Source/WebCore/platform/graphics/cg/GradientCG.cpp:125
> +                FloatPoint point0 = CGPointApplyAffineTransform(data.point0, transform);
> +                FloatPoint point1 = CGPointApplyAffineTransform(data.point1, transform);

because the origin will impact whether this point transformation is correct, right?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180913/97a076b5/attachment.html>


More information about the webkit-unassigned mailing list