Here’s the scenario: All views are flipped. OSX 10.9.

I have a view with frame and bounds 0,0,2000,2000.
The first subview has a frame 0,0,2000,2000 and bounds -1000,-1000,2000,2000. I 
set it to draw a solid color. On screen it covers the first view. 
It has a number of small 100,50 subviews at different locations.

All this draws fine on screen, whether I am using layer backing or not. If I do 
not use layer backing, it also renders properly using dataWithPDFInsideRect:.

As soon as I start using layer backing, dataWithPDFInsideRect: gives the 
following result:
- the first level subview draws as if its origin was the same as its superview 
- i.e. it only covers the top left quadrant of the superview,
- all the second level subviews draw on top of each other at origin 0,0.

Is this a known issue? Is there a workaround (apart from not using layers)?


Thanks

Gideon



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to