- Timestamp:
- Jun 21, 2010, 8:09:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/python/caca/canvas.py
r4408 r4409 62 62 width -- the desired canvas width 63 63 height -- the desired canvas height 64 cv-- pointer to libcaca canvas64 pointer -- pointer to libcaca canvas 65 65 """ 66 66 _lib.caca_create_canvas.argtypes = [ctypes.c_int, ctypes.c_int] 67 67 68 if cvis not None:68 if pointer is not None: 69 69 self._cv = _lib.caca_create_canvas(width, height) 70 70 if self._cv == 0: 71 71 raise CanvasError, "Failed to create canvas" 72 72 else: 73 self._cv = cv73 self._cv = pointer 74 74 75 75 def manage(self, *args, **kw):
Note: See TracChangeset
for help on using the changeset viewer.