use CAIRO_FILL_RULE_EVEN_ODD by default

as seen in tdf#100909 with gtk3 backend

Change-Id: I67a270a96df980489cd2cb37461b3bf88de4df03
This commit is contained in:
Caolán McNamara
2016-07-19 09:54:27 +01:00
parent f10b31c2fe
commit 0d2a328ab0

View File

@@ -1281,6 +1281,7 @@ cairo_t* SvpSalGraphics::getCairoContext(bool bXorModeAllowed) const
else
cr = cairo_create(m_pSurface);
cairo_set_line_width(cr, 1);
cairo_set_fill_rule(cr, CAIRO_FILL_RULE_EVEN_ODD);
if (m_ePaintMode == INVERT)
cairo_set_operator(cr, CAIRO_OPERATOR_DIFFERENCE);
else