Top "Cgaffinetransform" questions

The CGAffineTransform represents a matrix used for affine transformations.

Get size of UIView after applying CGAffineTransform

I was surprised not to find an answer to this question, maybe is something very simple I somehow overlook : How …

objective-c uiview cgaffinetransform
CGRectApplyAffineTransform then CGAffineTransformInvert doesn't return to original position

This does not seem possible and I'm sure there's a simple solution but I cannot work it out. My High …

ios objective-c cgaffinetransform
iOS: Mirror content on screen

I would like to know if it is possible to flip the contents of a UIView within the same device; …

ios objective-c uiview cgaffinetransform
iOS: Simultaneous scale and 3D rotation animation

I made a video demonstrating the animation i'm trying to accomplish: Here it is. Notice the video illustrates the action …

ios uiview core-animation cgaffinetransform catransform3d
How to scale (zoom) a UIView to a given CGPoint

I've spent a lot of time trying to find a way to use CGAffineScale to transform a view to a …

ios objective-c zooming cgaffinetransform
Rotate UIImageView clockwise

This should be simple, but I'm having trouble rotating a UIImageView a full 360 degrees, repeated forever. [UIView animateWithDuration:0.5 delay:0 options:…

objective-c ios core-graphics transform cgaffinetransform
Animation of CGAffineTransform in iOS8 looks different than in iOS7

I'm trying to find a reason why animation of UIView transform property looks different in iOS 8 than iOS 6/7. For a …

ios objective-c animation ios8 cgaffinetransform
Applying a Scale AffineTransform to a UIView changes its center

I'm running this code to shrink a UIView when the user taps on its superview. However, when applying the CGAffineTransformScale(), …

cocoa-touch uiview core-animation cgaffinetransform cgaffinetransformscale
Rotate image using CGContextDrawImage

How can I rotate an image drawn by CGContextDrawImage() at its center? In drawRect: CGContextSaveGState(c); rect = CGRectOffset(rect, -rect.…

ios core-graphics cgcontext cgaffinetransform cgcontextdrawimage