1. Brendan Howell
  2. PyCessing

Commits

Brendan Howell  committed 45c59b3

fixed image scaling bug

  • Participants
  • Parent commits b92f8ba
  • Branches master

Comments (0)

Files changed (1)

File pycessing/images.py

View file
         CTX.save()
 
         CTX.translate(x, y)
-        CTX.scale(scalex, scaley)
+        CTX.scale(self.scalex, self.scaley)
         CTX.rotate(self.rotation)
         CTX.set_source_surface(self.surface, -centerx, -centery)
         CTX.paint()