Re: EPS image in NSScrollView
Re: EPS image in NSScrollView
- Subject: Re: EPS image in NSScrollView
- From: "Adam R. Maxwell" <email@hidden>
- Date: Thu, 20 May 2010 22:31:46 -0700
On May 20, 2010, at 1:43 PM, email@hidden wrote:
> One other quick question. What I'm really trying to achieve is something similar to how the pdfkit works. I like how the image/text enlarges within the scrollview when the window is resized. The code is pretty simple as well:
>
> [pdfView setDocument:[[[PDFDocument alloc] initWithData:[fileMan contentsAtPath:filePath]] autorelease]];
> [theBox setContentView:pdfView];
>
> Is it possible to take an eps image and convert it to a pdf file so I can view it through the pdfkit?
Yes, using CGPSConverter.
http://developer.apple.com/mac/library/documentation/GraphicsImaging/Reference/CGPSConverter/Reference/reference.html
_______________________________________________
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