Re: Printing layer-based view
Re: Printing layer-based view
- Subject: Re: Printing layer-based view
- From: Graham Cox <email@hidden>
- Date: Wed, 09 Jan 2013 10:34:46 +1100
On 09/01/2013, at 2:20 AM, Kyle Sluder <email@hidden> wrote:
> That'll generate huge 72dpi bitmaps rather than a vector representation.
But it doesn't....
The layers that are CAShapeLayers render as vectors, and no amount of zooming in Preview shows any pixelation. Other layers, such as CATextLayer, do pixelate, which is why I was asking about a vector solution for these.
One drawback I have found is that if the view is zoomed the print operation paginates the zoomed area, which can generate hundreds of pages - this will need to be temporarily set back to 100% during printing, but that is a relatively minor issue.
--Graham
_______________________________________________
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