summaryrefslogtreecommitdiffstats
path: root/libdimension-python/dimension.pyx
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-07-28 22:21:53 -0600
committerTavian Barnes <tavianator@gmail.com>2011-07-28 22:21:53 -0600
commit9de8a544bc0bae9ebbc2eed10c120a7e14af441e (patch)
treec89ecbc9f7523f16fa611e2d23cb164d4efd7f5b /libdimension-python/dimension.pyx
parent250c28ccdef5f238677b34f21ec7fab06588a127 (diff)
downloaddimension-9de8a544bc0bae9ebbc2eed10c120a7e14af441e.tar.xz
Add leopard pigment.
Diffstat (limited to 'libdimension-python/dimension.pyx')
-rw-r--r--libdimension-python/dimension.pyx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx
index 3fd64d1..2197edd 100644
--- a/libdimension-python/dimension.pyx
+++ b/libdimension-python/dimension.pyx
@@ -561,6 +561,12 @@ cdef class Gradient(Pattern):
self._pattern = dmnsn_new_gradient_pattern(Vector(orientation)._v)
Pattern.__init__(self)
+cdef class Leopard(Pattern):
+ """A leopard pattern."""
+ def __init__(self):
+ self._pattern = dmnsn_new_leopard_pattern()
+ Pattern.__init__(self)
+
############
# Pigments #
############