Okay, replying to myself here…

On pon 10.02.2014., at 10.30, Dragan Milić wrote:

> I haven't done many things with CALayers in the past, so maybe I'm missing 
> some setting to make this work, but it doesn't look like that looking at that 
> class' public API. On the other hand I find it hard to believe that 
> IKImageBrowserView custom drawing onto its layers is not retina-compliant!


Setting layer's contentsScale like:

[result setContentsScale:[[[[self imageBrowserView] window] screen] 
backingScaleFactor]];

solves the retina issue! Drawing on retina displays works fine now.

The remaining issue is that strings drawn on the layer (using standard string 
drawing methods) still don't have antialiasing.

-- Dragan
_______________________________________________

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