[Webkit-unassigned] [Bug 114329] [Cairo] Take current matrix into pattern matrix to end up at identity scale when cairo_fill runs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 12 19:53:48 PDT 2013


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





--- Comment #3 from Viatcheslav Ostapenko <ostap73 at gmail.com>  2013-04-12 19:52:03 PST ---
(From update of attachment 197202)
View in context: https://bugs.webkit.org/attachment.cgi?id=197202&action=review

> Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:210
> +    if (scaleX != 1 && scaleY != 1 && totalMatrix.xx != 1 && totalMatrix.yy != 1 && destBitmapWidth && destBitmapHeight)

I think this condition should be 
if ((scaleX != 1 || scaleY != 1) && (totalMatrix.xx != 1 || totalMatrix.yy != 1) && destBitmapWidth && destBitmapHeight)

Otherwise this patch looks great.

-- 
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