From 5a3955662a0696b2a7d55a50d0cf4a63a6a3b2fa Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 22 Nov 2008 22:40:36 +0000 Subject: [PATCH] document all overloads of DrawText() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/graphics.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index f9427a950f..0665da824d 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -398,11 +398,20 @@ public: //@{ /** - Draws a text at the defined position, at the given angle. + Draws a text at the defined position. + + If @a angle is specified, the string is drawn at the given angle to the + (default) horizontal direction. If @a backgroundBrush is specified, the + text is filled using it. */ void DrawText(const wxString& str, wxDouble x, wxDouble y, wxDouble angle); void DrawText(const wxString& str, wxDouble x, wxDouble y); + void DrawText(const wxString& str, wxDouble x, wxDouble y, + const wxGraphicsBrush& backgroundBrush) + void DrawText(const wxString& str, wxDouble x, wxDouble y, + wxDouble angle, + const wxGraphicsBrush& backgroundBrush ) //@} /** -- 2.45.2