Permalink
Browse files

Fix #55 ctx.transform concat was in wrong order

  • Loading branch information...
1 parent 10c9b48 commit b162262e0a3abec36fd7fd2b5eae9d02de140ddc @phoboslab committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/Ejecta/EJCanvas/EJCanvasContext.m
@@ -334,7 +334,7 @@ - (void)scaleX:(float)x y:(float)y {
- (void)transformM11:(float)m11 m12:(float)m12 m21:(float)m21 m22:(float)m22 dx:(float)dx dy:(float)dy {
CGAffineTransform t = CGAffineTransformMake( m11, m12, m21, m22, dx, dy );
- state->transform = CGAffineTransformConcat( state->transform, t );
+ state->transform = CGAffineTransformConcat( t, state->transform );
path.transform = state->transform;
}

0 comments on commit b162262

Please sign in to comment.