Hi guys,
I've an NSView hierarchy with:
- an NSWindow with inside an NSView (called BaseContainerView)
(yellow color)
- inside BaseContainerView another NSView called HostView
(centered) (orange color)
- inside HostView.layer a CALayer called
On Apr 27, 2013, at 2:48 AM, Daniele Margutti m...@danielemargutti.com wrote:
If I try to rotate my hostView.layer (CALayer) using the function below I get
wrong coordinates when I try to click at the same (rotated) point (the
top,left coordinate of hostView)
Point conversion happens via
On Apr 29, 2013, at 9:33 AM, David Duncan david.dun...@apple.com wrote:
On Apr 27, 2013, at 2:48 AM, Daniele Margutti m...@danielemargutti.com
wrote:
If I try to rotate my hostView.layer (CALayer) using the function below I
get wrong coordinates when I try to click at the same (rotated)
On Apr 29, 2013, at 10:18 AM, Daniele Margutti m...@danielemargutti.com wrote:
What am I wong?
Meanwhile I've discovered an interesting thing.
In order to convert coordinates from my baseContainerView to inner hostView
I've used
CGPoint locationInHostView = [baseContainerView