David Duncan schreef op 24-3-2014 20:41:
On Mar 22, 2014, at 2:18 AM, Remco Poelstra <[email protected]
<mailto:[email protected]>> wrote:
How can I make sure that some custom drawing method get's called?
Call -setNeedsDisplay on the layer (layers are valid by default)
Hi,
I tried that, but it only draws the layer once. When I zoom in, the
content becomes pixelated. I tried to subclass CATiledLayer and override
-setAffineTransform to set the contentsScale of all sub layers depending
on the current transform, but that gives all sorts of drawing errors.
Is there a way to keep the custom drawn content sharp? Like with
CAShapeLayers?
Thanks in advance.
Kind regards,
Remco Poelstra
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]