• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EPS image in NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >RE:EPS image in NSScrollView (From: <email@hidden>)

  • Prev by Date: Re: Calling allObjects memory allocation problem
  • Next by Date: Re: Notifications on main thread
  • Previous by thread: RE:EPS image in NSScrollView
  • Next by thread: Are there any tools or techniques for detecting / debugging retain-cycles?
  • Index(es):
    • Date
    • Thread