Skip to content

Commit

Permalink
Rotate should take place after the image has been properly scales so …
Browse files Browse the repository at this point in the history
…distortion does not occur.
  • Loading branch information
erodozer committed Jun 5, 2011
1 parent 89ff6a9 commit 74d77fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Svg.py
Expand Up @@ -194,9 +194,8 @@ def draw(self):

glTranslate(self.position[0], self.position[1], 0.0)
glScalef(self.scale[0], self.scale[1], 1.0)
glRotatef(self.angle, 0, 0, 1)

glScalef(self.pixelSize[0], self.pixelSize[1], 1)
glRotatef(self.angle, 0, 0, 1)
glTranslatef(self.shift, self.vshift, 0)

glColor4f(*self.color)
Expand Down

0 comments on commit 74d77fb

Please sign in to comment.