diff --git a/docs/MigrationGuide.rst b/docs/MigrationGuide.rst index 47218a2d..753050c3 100644 --- a/docs/MigrationGuide.rst +++ b/docs/MigrationGuide.rst @@ -650,6 +650,30 @@ wxPython for compatibility, but with a zero value. You can just stop using it in your code with no change in behavior. +Parameter name changes in radial gradient methods +------------------------------------------------- + +The parameter names for the ``wx.GraphicsContext`` methods for creating radial +gradients have changed in wxPython 4.1 to be a little more understandable. If +you are passing these values via their keyword names then you will need to +change your code. The prior C++ method signatures looked like this:: + + virtual wxGraphicsBrush + CreateRadialGradientBrush(wxDouble xo, wxDouble yo, + wxDouble xc, wxDouble yc, + wxDouble radius, + const wxGraphicsGradientStops& stops); + +And they now look like this:: + + virtual wxGraphicsBrush + CreateRadialGradientBrush(wxDouble startX, wxDouble startY, + wxDouble endX, wxDouble endY, + wxDouble radius, + const wxGraphicsGradientStops& stops, + const wxGraphicsMatrix& matrix = wxNullGraphicsMatrix); + + .. toctree:: :maxdepth: 2 :hidden: diff --git a/wx/svg/_nanosvg.c b/wx/svg/_nanosvg.c index 20ebdf92..b1f970df 100644 --- a/wx/svg/_nanosvg.c +++ b/wx/svg/_nanosvg.c @@ -1,4 +1,4 @@ -/* Generated by Cython 0.29.12 */ +/* Generated by Cython 0.29.13 */ /* BEGIN: Cython Metadata { @@ -40,8 +40,8 @@ END: Cython Metadata */ #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython requires Python 2.6+ or Python 3.3+. #else -#define CYTHON_ABI "0_29_12" -#define CYTHON_HEX_VERSION 0x001D0CF0 +#define CYTHON_ABI "0_29_13" +#define CYTHON_HEX_VERSION 0x001D0DF0 #define CYTHON_FUTURE_DIVISION 0 #include #ifndef offsetof