X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c3140ca4494195cfe3fee8a21dd0834437993a6..1ebfe6c58a3a2b72dd0b8f97b57c49d139f612e6:/interface/wx/dc.h diff --git a/interface/wx/dc.h b/interface/wx/dc.h index d496f73703..c723f19e6e 100644 --- a/interface/wx/dc.h +++ b/interface/wx/dc.h @@ -73,7 +73,7 @@ enum wxMappingMode wxMM_TWIPS, /** - Each logical unit is a @e "printer point" i.e. 1/72 of an inch. + Each logical unit is a @e "printer point" i.e.\ 1/72 of an inch. Equivalent to about 353 micrometers. */ wxMM_POINTS @@ -413,7 +413,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 +455,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 +504,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 +579,7 @@ public: Not supported by wxPerl. @endWxPerlOnly */ - void DrawSpline(int n, wxPoint points[]); + void DrawSpline(int n, const wxPoint points[]); /** @overload @@ -1413,7 +1413,7 @@ public: bool IsOk() const; /** - Sets the x and y axis orientation (i.e., the direction from lowest to + Sets the x and y axis orientation (i.e.\ the direction from lowest to highest values on the axis). The default orientation is x axis from left to right and y axis from top down. @@ -1427,7 +1427,7 @@ public: void SetAxisOrientation(bool xLeftRight, bool yBottomUp); /** - Sets the device origin (i.e., the origin in pixels after scaling has + Sets the device origin (i.e.\ the origin in pixels after scaling has been applied). This function may be useful in Windows printing operations for placing a graphic on a page. */