# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
+"""
+The Object Graphics Library provides for simple drawing and manipulation
+of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.)
+"""
+
import _ogl
import _windows
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
+import warnings
+warnings.warn("This module is deprecated. Please use the wx.lib.ogl package instead.",
+ DeprecationWarning, stacklevel=2)
+
#---------------------------------------------------------------------------
class ShapeRegion(_core.Object):
self.this = newobj.this
self.thisown = 1
del newobj.thisown
- self._setOORandCallbackInfo(PyShapeEvtHandler)
+ self._setOORandCallbackInfo(PyShape)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _ogl.PseudoMetaFile_DrawText(*args, **kwargs)
def DrawLines(*args, **kwargs):
- """DrawLines(self, int PCOUNT, Point points)"""
+ """DrawLines(self, int points, Point points_array)"""
return _ogl.PseudoMetaFile_DrawLines(*args, **kwargs)
def DrawPolygon(*args, **kwargs):
- """DrawPolygon(self, int PCOUNT, Point points, int flags=0)"""
+ """DrawPolygon(self, int points, Point points_array, int flags=0)"""
return _ogl.PseudoMetaFile_DrawPolygon(*args, **kwargs)
def DrawSpline(*args, **kwargs):
- """DrawSpline(self, int PCOUNT, Point points)"""
+ """DrawSpline(self, int points, Point points_array)"""
return _ogl.PseudoMetaFile_DrawSpline(*args, **kwargs)
def SetClippingRect(*args, **kwargs):
return _ogl.PseudoMetaFile_DestroyClippingRect(*args, **kwargs)
def SetPen(*args, **kwargs):
- """SetPen(self, wxPen pen, bool isOutline=FALSE)"""
+ """SetPen(self, wxPen pen, bool isOutline=False)"""
return _ogl.PseudoMetaFile_SetPen(*args, **kwargs)
def SetBrush(*args, **kwargs):
- """SetBrush(self, wxBrush brush, bool isFill=FALSE)"""
+ """SetBrush(self, wxBrush brush, bool isFill=False)"""
return _ogl.PseudoMetaFile_SetBrush(*args, **kwargs)
def SetFont(*args, **kwargs):
return _ogl.PyRectangleShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyRectangleShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyControlPoint_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyControlPoint_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyBitmapShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyBitmapShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyDrawnShape_DrawLine(*args, **kwargs)
def DrawLines(*args, **kwargs):
- """DrawLines(self, int PCOUNT, Point points)"""
+ """DrawLines(self, int points, Point points_array)"""
return _ogl.PyDrawnShape_DrawLines(*args, **kwargs)
def DrawPoint(*args, **kwargs):
return _ogl.PyDrawnShape_DrawPoint(*args, **kwargs)
def DrawPolygon(*args, **kwargs):
- """DrawPolygon(self, int PCOUNT, Point points, int flags=0)"""
+ """DrawPolygon(self, int points, Point points_array, int flags=0)"""
return _ogl.PyDrawnShape_DrawPolygon(*args, **kwargs)
def DrawRectangle(*args, **kwargs):
return _ogl.PyDrawnShape_DrawRoundedRectangle(*args, **kwargs)
def DrawSpline(*args, **kwargs):
- """DrawSpline(self, int PCOUNT, Point points)"""
+ """DrawSpline(self, int points, Point points_array)"""
return _ogl.PyDrawnShape_DrawSpline(*args, **kwargs)
def DrawText(*args, **kwargs):
return _ogl.PyDrawnShape_SetDrawnBackgroundMode(*args, **kwargs)
def SetDrawnBrush(*args, **kwargs):
- """SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)"""
+ """SetDrawnBrush(self, wxBrush pen, bool isOutline=False)"""
return _ogl.PyDrawnShape_SetDrawnBrush(*args, **kwargs)
def SetDrawnFont(*args, **kwargs):
return _ogl.PyDrawnShape_SetDrawnFont(*args, **kwargs)
def SetDrawnPen(*args, **kwargs):
- """SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)"""
+ """SetDrawnPen(self, wxPen pen, bool isOutline=False)"""
return _ogl.PyDrawnShape_SetDrawnPen(*args, **kwargs)
def SetDrawnTextColour(*args, **kwargs):
return _ogl.PyDrawnShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDrawnShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyCompositeShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyCompositeShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyDividedShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDividedShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyDivisionShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDivisionShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyEllipseShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyEllipseShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyCircleShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyCircleShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyLineShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyLineShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyPolygonShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyPolygonShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyTextShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyTextShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
self.this = newobj.this
self.thisown = 1
del newobj.thisown
+ self._setOORandCallbackInfo(PyShapeCanvas)
+
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _ogl.PyShapeCanvas__setCallbackInfo(*args, **kwargs)