• 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: PDF on a NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDF on a NSView


  • Subject: Re: PDF on a NSView
  • From: email@hidden
  • Date: Wed, 9 Jan 2002 17:08:34 -0800

just load it in an NSImage and use drawAtPoint or drawInRect... pdf is as good as jpg or tiff for nsimage.

On Wednesday, January 9, 2002, at 06:53 AM, Stiphane Sudre wrote:

On Wednesday, January 9, 2002, at 03:08 PM, Lizardo H. C. M. Nunes wrote:

Hi,

Is it possible to render a PDF file on a NSView? I hope you can help me or point me to the proper documentation.

I'm using the graph application (plotutils, gnu package) to visualize simple data on Mac OS X / XDarwin. Alternatively, a PS file can be created and translated to a PDF one; that's why I want to know how I could render a PDF file on a NSView (if possible).

Didn't check the code or run it but something like this could work. I'm quite sure there's an easier solution.

<snip>cgcode</snip>


References: 
 >Re: PDF on a NSView (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Authorize login to router
  • Next by Date: RE: Database
  • Previous by thread: Re: PDF on a NSView
  • Next by thread: Idle time
  • Index(es):
    • Date
    • Thread