parameters: (rect, size, direction)
return_statement: return startX, startY, stopX, stopY
docstring: Returns the point at which the sliding in and out of a minimized pane begins.
  
      :param Rect `rect`: the :class:`~lib.agw.aui.auibar.AuiToolBar` tool screen rectangle;
      :param Size `size`: the pane window size;
      :param integer `direction`: the pane docking direction.
docstring_summary: Returns the point at which the sliding in and out of a minimized pane begins.
docstring_tokens: Returns the point at which the sliding in and out of a minimized pane begins .
function: def GetSlidingPoints(rect, size, direction):
      """
      Returns the point at which the sliding in and out of a minimized pane begins.
  
      :param Rect `rect`: the :class:`~lib.agw.aui.auibar.AuiToolBar` tool screen rectangle;
      :param Size `size`: the pane window size;
      :param integer `direction`: the pane docking direction.
      """
  
      if direction == AUI_DOCK_LEFT:
          startX, startY = rect.x + rect.width + 2, rect.y
      elif direction == AUI_DOCK_TOP:
          startX, startY = rect.x, rect.y + rect.height + 2
      elif direction == AUI_DOCK_RIGHT:
          startX, startY = rect.x - size.x - 2, rect.y
      elif direction == AUI_DOCK_BOTTOM:
          startX, startY = rect.x, rect.y - size.y - 2
      else:
          raise Exception("How did we get here?")
  
      caption_height = wx.SystemSettings.GetMetric(wx.SYS_CAPTION_Y)
      frame_border_x = wx.SystemSettings.GetMetric(wx.SYS_FRAMESIZE_X)
      frame_border_y = wx.SystemSettings.GetMetric(wx.SYS_FRAMESIZE_Y)
      
      stopX = size.x + caption_height + frame_border_x
      stopY = size.x + frame_border_y
      
      return startX, startY, stopX, stopY
function_tokens: def GetSlidingPoints ( rect , size , direction ) : if direction == AUI_DOCK_LEFT : startX , startY = rect . x + rect . width + 2 , rect . y elif direction == AUI_DOCK_TOP : startX , startY = rect . x , rect . y + rect . height + 2 elif direction == AUI_DOCK_RIGHT : startX , startY = rect . x - size . x - 2 , rect . y elif direction == AUI_DOCK_BOTTOM : startX , startY = rect . x , rect . y - size . y - 2 else : raise Exception ( "How did we get here?" ) caption_height = wx . SystemSettings . GetMetric ( wx . SYS_CAPTION_Y ) frame_border_x = wx . SystemSettings . GetMetric ( wx . SYS_FRAMESIZE_X ) frame_border_y = wx . SystemSettings . GetMetric ( wx . SYS_FRAMESIZE_Y ) stopX = size . x + caption_height + frame_border_x stopY = size . x + frame_border_y return startX , startY , stopX , stopY