more readable argument names for wxDC::DrawArc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2010-06-06 11:34:33 +00:00
parent 52999871ce
commit 12194090d2

View File

@ -222,19 +222,20 @@ public:
/** /**
Draws an arc of a circle, centred on (@a xc, @a yc), with starting Draws an arc of a circle, centred on (@a xc, @a yc), with starting
point (@a x1, @a y1) and ending at (@a x2, @a y2). The current pen is point (@a xStart, @a yStart) and ending at (@a xEnd, @a yEnd).
used for the outline and the current brush for filling the shape. The current pen is used for the outline and the current brush for
filling the shape.
The arc is drawn in a counter-clockwise direction from the start point The arc is drawn in a counter-clockwise direction from the start point
to the end point. to the end point.
*/ */
void DrawArc(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, void DrawArc(wxCoord xStart, wxCoord yStart, wxCoord xEnd, wxCoord yEnd,
wxCoord xc, wxCoord yc); wxCoord xc, wxCoord yc);
/** /**
@overload @overload
*/ */
void DrawArc(const wxPoint& pt1, const wxPoint& pt2, const wxPoint& centre); void DrawArc(const wxPoint& ptStart, const wxPoint& ptEnd, const wxPoint& centre);
/** /**
Draw a bitmap on the device context at the specified point. If Draw a bitmap on the device context at the specified point. If