summaryrefslogtreecommitdiffstats
path: root/libdimension-python
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension-python')
-rw-r--r--libdimension-python/dimension.pyx9
1 files changed, 8 insertions, 1 deletions
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx
index fa57691..b19db18 100644
--- a/libdimension-python/dimension.pyx
+++ b/libdimension-python/dimension.pyx
@@ -432,7 +432,7 @@ cdef class Canvas:
"""A rendering target."""
cdef dmnsn_canvas *_canvas
- def __init__(self, size_t width, size_t height):
+ def __init__(self, width, height):
"""
Create a Canvas.
@@ -1292,6 +1292,13 @@ cdef class Scene:
def __set__(self, n):
self._scene.nthreads = n
+ property quality:
+ """The render quality."""
+ def __get__(self):
+ return self._scene.quality
+ def __set__(self, q):
+ self._scene.quality = q
+
property bounding_timer:
"""The Timer for building the bounding hierarchy."""
def __get__(self):