MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / OnPaint

Method OnPaint

graphs/gui/vector.py:106–108  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

104 self.SetValue(None, length)
105
106 def OnPaint(self, event):
107 dc = wx.BufferedPaintDC(self)
108 self.Draw(dc)
109
110 def GetScaledClientSize(self):
111 return tuple([dim / self.GetContentScaleFactor() for dim in self.GetClientSize()])

Callers

nothing calls this directly

Calls 1

DrawMethod · 0.95

Tested by

no test coverage detected