Re: IKImageBrowserView, drawing on layers and retina display
Re: IKImageBrowserView, drawing on layers and retina display
- Subject: Re: IKImageBrowserView, drawing on layers and retina display
- From: Dragan Milić <email@hidden>
- Date: Mon, 10 Feb 2014 11:59:12 +0100
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 (email@hidden)
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:
This email sent to email@hidden