Optimize Colour Brush Pen

Use builtin Colours, Brushes, Pens where needed. They are faster.
This commit is contained in:
Metallicow
2020-07-19 23:48:39 -05:00
parent 75f1081f84
commit 542a32c17d
40 changed files with 126 additions and 125 deletions

View File

@@ -38,8 +38,8 @@ then these squares should be transparent.
dc.DrawRoundedRectangle(rect, 8)
# some additional testing stuff
#dc.SetPen(wx.Pen(wx.Colour(0,0,255, 196)))
#dc.SetBrush(wx.Brush(wx.Colour(0,0,255, 64)))
#dc.SetPen(wx.Pen(wx.Colour(0, 0, 255, 196)))
#dc.SetBrush(wx.Brush(wx.Colour(0, 0, 255, 64)))
#dc.DrawCircle(50, 275, 25)
#dc.DrawEllipse(100, 275, 75, 50)