summaryrefslogtreecommitdiffstats
path: root/libdimension-python/dimension.pyx
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-09-23 19:38:27 -0400
committerTavian Barnes <tavianator@gmail.com>2011-09-23 20:20:48 -0400
commitd40ea6f9615872cc1cfa8a764671c4e02a609823 (patch)
treecb29bc013e5d66b5ecb229a67c21dfce72d531cb /libdimension-python/dimension.pyx
parent5f46020e7090e28495d2b7e66e58f2c74698917a (diff)
downloaddimension-d40ea6f9615872cc1cfa8a764671c4e02a609823.tar.xz
Document the _Transformable methods.
Diffstat (limited to 'libdimension-python/dimension.pyx')
-rw-r--r--libdimension-python/dimension.pyx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx
index 0ab47a8..c90bf9e 100644
--- a/libdimension-python/dimension.pyx
+++ b/libdimension-python/dimension.pyx
@@ -363,10 +363,13 @@ def rotate(*args, **kwargs):
cdef class _Transformable:
def scale(self, *args, **kwargs):
+ """Scale. Equivalent to self.transform(scale(...))."""
return self.transform(scale(*args, **kwargs))
def translate(self, *args, **kwargs):
+ """Translate. Equivalent to self.transform(translate(...))."""
return self.transform(translate(*args, **kwargs))
def rotate(self, *args, **kwargs):
+ """Rotate. Equivalent to self.transform(rotate(...))."""
return self.transform(rotate(*args, **kwargs))
##########