On Jul 16, 2008, at 16:23:23, David Duncan wrote:
This is also why when you scale up a CALayer its content its content looks interpolated - its the same number of pixels as before, just interpolated larger. If you exceed the maximum LOD of a tiled layer, you will see the same thing (which if you don't set a LOD bias means if you scale a tiled layer above 1.0 it will also have its content interpolated).
So why is it that when setting a CALayer's (not CATiledLayer) background color, corner and border properties, those render beautifully, no matter what the scale of the parent layer? Clearly, at some point, Quartz is getting called to fill & stroke the layer's frame with the appropriate CTM in place for it to appear as it does (scaled & rotated). I wish I could get it to do the same for my drawing code.
-- Rick _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]