# 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__
+__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.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):
"""GetLineControlPoints(self) -> PyObject"""
return _ogl.PyLineShape_GetLineControlPoints(*args, **kwargs)
+ def SetLineControlPoints(*args, **kwargs):
+ """SetLineControlPoints(self, PyObject list)"""
+ return _ogl.PyLineShape_SetLineControlPoints(*args, **kwargs)
+
def SetAttachmentFrom(*args, **kwargs):
"""SetAttachmentFrom(self, int fromAttach)"""
return _ogl.PyLineShape_SetAttachmentFrom(*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)