X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0824e369691b4a23a484e1d258b6e4ea021b022a..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/dc.h diff --git a/interface/wx/dc.h b/interface/wx/dc.h index 0d7e5ab5e6..41dfbdaba0 100644 --- a/interface/wx/dc.h +++ b/interface/wx/dc.h @@ -2,7 +2,6 @@ // Name: dc.h // Purpose: interface of wxDC // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -413,7 +412,7 @@ public: Not supported by wxPerl. @endWxPerlOnly */ - void DrawLines(int n, wxPoint points[], wxCoord xoffset = 0, + void DrawLines(int n, const wxPoint points[], wxCoord xoffset = 0, wxCoord yoffset = 0); /** This method uses a list of wxPoints, adding the optional offset @@ -455,7 +454,7 @@ public: Not supported by wxPerl. @endWxPerlOnly */ - void DrawPolygon(int n, wxPoint points[], wxCoord xoffset = 0, + void DrawPolygon(int n, const wxPoint points[], wxCoord xoffset = 0, wxCoord yoffset = 0, wxPolygonFillMode fill_style = wxODDEVEN_RULE); /** @@ -504,7 +503,7 @@ public: the DrawPolygon() member function, the polygons created by this method are not closed automatically. */ - void DrawPolyPolygon(int n, int count[], wxPoint points[], + void DrawPolyPolygon(int n, const int count[], const wxPoint points[], wxCoord xoffset = 0, wxCoord yoffset = 0, wxPolygonFillMode fill_style = wxODDEVEN_RULE); @@ -579,7 +578,7 @@ public: Not supported by wxPerl. @endWxPerlOnly */ - void DrawSpline(int n, wxPoint points[]); + void DrawSpline(int n, const wxPoint points[]); /** @overload @@ -678,6 +677,9 @@ public: - wxFLOOD_BORDER: The area to be flooded is bounded by the given colour. + Currently this method is not implemented in wxOSX and does nothing + there. + @return @false if the operation failed. @note The present implementation for non-Windows platforms may fail to