Document that wxGraphicsContext::DrawText angles are in radians
This resolves confusion reported by a wxPython user: https://github.com/wxWidgets/Phoenix/issues/1815
This commit is contained in:
@@ -804,8 +804,8 @@ public:
|
|||||||
@param y
|
@param y
|
||||||
The y coordinate position to draw the text at.
|
The y coordinate position to draw the text at.
|
||||||
@param angle
|
@param angle
|
||||||
The angle relative to the (default) horizontal direction to draw
|
The angle, in radians, relative to the (default) horizontal
|
||||||
the string.
|
direction to draw the string.
|
||||||
*/
|
*/
|
||||||
void DrawText(const wxString& str, wxDouble x, wxDouble y, wxDouble angle);
|
void DrawText(const wxString& str, wxDouble x, wxDouble y, wxDouble angle);
|
||||||
|
|
||||||
@@ -833,8 +833,8 @@ public:
|
|||||||
@param y
|
@param y
|
||||||
The y coordinate position to draw the text at.
|
The y coordinate position to draw the text at.
|
||||||
@param angle
|
@param angle
|
||||||
The angle relative to the (default) horizontal direction to draw
|
The angle, in radians, relative to the (default) horizontal
|
||||||
the string.
|
direction to draw the string.
|
||||||
@param backgroundBrush
|
@param backgroundBrush
|
||||||
Brush to fill the text with.
|
Brush to fill the text with.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user