Example #1
0
 def _getDrawingArea(self):
     """
     Return a Rect encompassing the allowable drawing area of the current client window,
     in device units.
     """
     drawingArea = Rect(*self.GetClientRect())
     drawingArea.Deflate(self._border, self._border)
     return drawingArea