Is there a way to determine the actual frame of a CALayer’s contents, accounting for contentsGravity, or do I get to compute that myself?
-
-
Replying to @warrenm
@warrenm@RedQueenCoder what are you doing where you need to know that?1 reply 0 retweets 0 likes -
Replying to @kerrick
@kerrick@RedQueenCoder I need to map a touch on the layer’s view to a pair of image-relative coordinates.1 reply 0 retweets 0 likes -
Replying to @warrenm
@warrenm@RedQueenCoder seems unlikely. contentsRect and contentsCenter make it non-trivial.1 reply 0 retweets 0 likes
Replying to @kerrick
@kerrick @RedQueenCoder Excellent point. I guess I’ll write a simple version with some assumptions baked in.
10:20 PM - 3 Jan 2015
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.