Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/model_protozoon.py
diff options
context:
space:
mode:
authorNostalghia <b.vehikel@googlemail.com>2010-05-30 07:06:22 (GMT)
committer Nostalghia <b.vehikel@googlemail.com>2010-05-30 07:06:22 (GMT)
commit1c85682c78b69b1799c190bafa898ca2ca1bc2ca (patch)
tree493034bb82009b2fcc465a690f6e5ee2daf13e0e /model_protozoon.py
parent0e093254c3c3e10569fa3a199d5609695bcb395f (diff)
A simple version of a layer showing bitmap images added.
Diffstat (limited to 'model_protozoon.py')
-rw-r--r--model_protozoon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/model_protozoon.py b/model_protozoon.py
index 8bd7d61..eb75294 100644
--- a/model_protozoon.py
+++ b/model_protozoon.py
@@ -92,7 +92,7 @@ class Protozoon(model_allele.Allele):
"""
ctx.save()
# ka_debug.matrix_s(ctx.get_matrix())
- ctx.scale(width, height)
+ ctx.scale(float(width), float(height))
# ka_debug.matrix(ctx.get_matrix())
ctx.translate(0.5, 0.5)
# ka_debug.matrix(ctx.get_matrix())