From fd0b19f27790ce598b14f625c82208338ced4c2b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 31 Jul 2019 16:39:37 -0700 Subject: [PATCH] Add the rest of the accessors in wxPenInfo and wxGraphicsPenInfo, so wxPython can see them. --- interface/wx/graphics.h | 9 +++++++++ interface/wx/pen.h | 11 +++++++++++ 2 files changed, 20 insertions(+) diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index b431691efe..6893f25b57 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -1644,6 +1644,15 @@ public: RadialGradient(wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius, const wxGraphicsGradientStops& stops); + wxColour GetColour() const; + wxBitmap GetStipple() const; + wxPenStyle GetStyle() const; + wxPenJoin GetJoin() const; + wxPenCap GetCap() const; + int GetDashes(wxDash **ptr); + int GetDashCount() const; + wxDash* GetDash() const; + bool IsTransparent() const; wxDouble GetWidth() const; wxGradientType GetGradientType() const; wxDouble GetX1() const; diff --git a/interface/wx/pen.h b/interface/wx/pen.h index d6df1c3f4d..ceeab7ad9e 100644 --- a/interface/wx/pen.h +++ b/interface/wx/pen.h @@ -137,6 +137,17 @@ public: wxPenInfo& Join(wxPenJoin join); wxPenInfo& Cap(wxPenCap cap); + + wxColour GetColour() const; + wxBitmap GetStipple() const; + wxPenStyle GetStyle() const; + wxPenJoin GetJoin() const; + wxPenCap GetCap() const; + int GetDashes(wxDash **ptr); + int GetDashCount() const; + wxDash* GetDash() const; + bool IsTransparent() const; + int GetWidth() const; };