From: Robin Dunn Date: Mon, 13 Feb 2006 19:18:29 +0000 (+0000) Subject: Show some GradientFill usage X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aa5644aee0127715a3f464dd5aa96601951a90cd Show some GradientFill usage git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/ScrolledWindow.py b/wxPython/demo/ScrolledWindow.py index ac36542551..35087538d8 100644 --- a/wxPython/demo/ScrolledWindow.py +++ b/wxPython/demo/ScrolledWindow.py @@ -137,6 +137,10 @@ class MyCanvas(wx.ScrolledWindow): dc.SetPen(old_pen) dc.DrawRectangle(490,90, 20,20) + dc.GradientFillLinear((20, 260, 50, 50), + "red", "blue") + dc.GradientFillConcentric((20, 325, 50, 50), + "red", "blue", (25,25)) self.DrawSavedLines(dc) dc.EndDrawing()