diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 494f3a615c..6b9cab2b3b 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -637,8 +637,8 @@ void wxSVGFileDCImpl::DoDrawRoundedRectangle(wxCoord x, wxCoord y, wxCoord width NewGraphicsIfNeeded(); wxString s; - s = wxString::Format(wxS(" \n"); write(s); @@ -660,7 +660,7 @@ void wxSVGFileDCImpl::DoDrawPolygon(int n, const wxPoint points[], else s += wxS("fill-rule:nonzero;"); - s += wxS("\"") + wxGetBrushFill(m_brush) + wxS(" points=\""); + s += wxS("\" ") + wxGetPenPattern(m_pen) + wxGetBrushFill(m_brush) + wxS(" points=\""); for (int i = 0; i < n; i++) { @@ -721,7 +721,8 @@ void wxSVGFileDCImpl::DoDrawEllipse(wxCoord x, wxCoord y, wxCoord width, wxCoord int rw = width / 2; wxString s; - s = wxString::Format(wxS(" \n"); write(s); @@ -773,8 +774,8 @@ void wxSVGFileDCImpl::DoDrawArc(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, if (x1 == x2 && y1 == y2) { // drawing full circle fails with default arc. Draw two half arcs instead. - s = wxString::Format(wxS(" \n"); @@ -852,15 +854,15 @@ void wxSVGFileDCImpl::DoDrawEllipticArc(wxCoord x, wxCoord y, wxCoord w, wxCoord { // Drawing full circle fails with default arc. Draw two half arcs instead. fArc = 1; - arcPath = wxString::Format(wxS("