parameters: (self)
return_statement: return paintRect
docstring: Returns the paint bounding rect for the :meth:`~ScrolledThumbnail.OnPaint` method.
docstring_summary: Returns the paint bounding rect for the :meth:`~ScrolledThumbnail.OnPaint` method.
docstring_tokens: Returns the paint bounding rect for the : meth : ~ScrolledThumbnail . OnPaint method .
function: def GetPaintRect(self):
          """ Returns the paint bounding rect for the :meth:`~ScrolledThumbnail.OnPaint` method. """
          
          size = self.GetClientSize()
          paintRect = wx.Rect(0, 0, size.GetWidth(), size.GetHeight())
          paintRect.x, paintRect.y = self.GetViewStart()
          xu, yu = self.GetScrollPixelsPerUnit()
          paintRect.x = paintRect.x*xu
          paintRect.y = paintRect.y*yu
          
          return paintRect
function_tokens: def GetPaintRect ( self ) : size = self . GetClientSize ( ) paintRect = wx . Rect ( 0 , 0 , size . GetWidth ( ) , size . GetHeight ( ) ) paintRect . x , paintRect . y = self . GetViewStart ( ) xu , yu = self . GetScrollPixelsPerUnit ( ) paintRect . x = paintRect . x * xu paintRect . y = paintRect . y * yu return paintRect