From a6d97acc31a886defe02e4a9192c683c431f98d7 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Fri, 6 May 2016 18:50:04 +0200 Subject: [PATCH] Update documentation regarding wxGraphicsPath::AddRoundedRectangle(). --- interface/wx/graphics.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index 03aef54908..8d15a41f6e 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -106,6 +106,9 @@ public: /** Appends a rounded rectangle as a new closed subpath. + If @a radius equals 0 this function will behave as AddRectangle(), + otherwise after this call the current point will be at + (@a x+@a w, @a y + @a h/2). */ virtual void AddRoundedRectangle(wxDouble x, wxDouble y, wxDouble w, wxDouble h, wxDouble radius);