X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/13cfc51d63509eb0da7d1cc1b9b291a4a701119f..17d98558b35b75e3cad68d96841b4fa5a0c7e6ee:/src/common/dcsvg.cpp diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 7397e43725..3abd5a6389 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -4,7 +4,7 @@ // Author: Chris Elliott // Modified by: // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -289,7 +289,9 @@ void wxSVGFileDCImpl::DoDrawRoundedRectangle(wxCoord x, wxCoord y, wxCoord width CalcBoundingBox(x + width, y + height); } -void wxSVGFileDCImpl::DoDrawPolygon(int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset,int fillStyle) +void wxSVGFileDCImpl::DoDrawPolygon(int n, wxPoint points[], + wxCoord xoffset, wxCoord yoffset, + wxPolygonFillMode fillStyle) { if (m_graphics_changed) NewGraphics (); wxString s, sTmp; @@ -589,7 +591,7 @@ void wxSVGFileDCImpl::SetFont(const wxFont& font) // export a bitmap as a raster image in png bool wxSVGFileDCImpl::DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC* source, wxCoord xsrc, wxCoord ysrc, - int logicalFunc /*= wxCOPY*/, bool useMask /*= false*/, + wxRasterOperationMode logicalFunc /*= wxCOPY*/, bool useMask /*= false*/, wxCoord /*xsrcMask = -1*/, wxCoord /*ysrcMask = -1*/) { if (logicalFunc != wxCOPY)