diff -r b0affce7beb1 -r 06160a812d43 Source/Grid.m --- a/Source/Grid.m Tue Mar 10 22:36:23 2009 -0700 +++ b/Source/Grid.m Tue Jul 07 08:44:33 2009 -0700 @@ -387,9 +387,11 @@ // To make the bitTransform relative to my center, I need to offset the center to the origin // first, and then back afterwards. CGSize size = self.bounds.size; - CATransform3D x = CATransform3DMakeTranslation(-size.width/2, -size.height/2,0); + size.width = roundf(size.width/2.0); + size.height = roundf(size.height/2.0); + CATransform3D x = CATransform3DMakeTranslation(-size.width, -size.height, 0); x = CATransform3DConcat(x, bitTransform); - x = CATransform3DConcat(x, CATransform3DMakeTranslation(size.width/2, size.height/2,0)); + x = CATransform3DConcat(x, CATransform3DMakeTranslation(size.width, size.height ,0)); self.sublayerTransform = x; }