WebKit Bugzilla
Attachment 371837 Details for
Bug 198701
: [cairo][SVG] Putting multiple path elements in clippath causes rendering artifacts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch solving only position issues
a.diff (text/plain), 1.10 KB, created by
Fujii Hironori
on 2019-06-11 02:43:52 PDT
(
hide
)
Description:
patch solving only position issues
Filename:
MIME Type:
Creator:
Fujii Hironori
Created:
2019-06-11 02:43:52 PDT
Size:
1.10 KB
patch
obsolete
>diff --git a/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp b/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp >index eeeae86ef83..ac1be3c68d0 100644 >--- a/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp >+++ b/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp >@@ -121,9 +121,14 @@ void PlatformContextCairo::pushImageMask(cairo_surface_t* surface, const FloatRe > cairo_push_group(m_cr.get()); > cairo_set_operator(m_cr.get(), CAIRO_OPERATOR_SOURCE); > >+ cairo_matrix_t matrix; >+ cairo_get_matrix(m_cr.get(), &matrix); >+ cairo_identity_matrix(m_cr.get()); >+ cairo_set_source_surface(m_cr.get(), currentTarget, 0, 0); >+ cairo_set_matrix(m_cr.get(), &matrix); >+ > // To avoid the limit of Pixman backend, we need to reduce the size of pattern matrix > // See https://bugs.webkit.org/show_bug.cgi?id=154283 >- cairo_set_source_surface(m_cr.get(), currentTarget, rect.x(), rect.y()); > cairo_translate(m_cr.get(), rect.x(), rect.y()); > cairo_rectangle(m_cr.get(), 0, 0, rect.width(), rect.height()); > cairo_fill(m_cr.get());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 198701
:
371716
|
371717
|
371718
|
371720
|
371722
|
371821
|
371822
|
371824
|
371837
|
371838
|
371917