• 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: Help with PDFPage to NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with PDFPage to NSImage


  • Subject: Re: Help with PDFPage to NSImage
  • From: Antonio Nunes <email@hidden>
  • Date: Wed, 27 Feb 2008 14:39:38 +0100

On Feb 27, 2008, at 2:13 PM, Florian Soenens wrote:

thanks for the quick responses, here's what i noticed:

if i comment these tree line (the actual drawing), i do not get an error.

//[image lockFocus];
//[pdf_rep drawAtPoint:NSMakePoint(0.0,0.0)];
//[image unlockFocus];

So, it must have to do with the lockFocus, unlockFocus.
Is it because i'm running this as a command line utility?

Hi Florian,

That is totally different code from what you showed us before, without much of a relation between the two. You could change the middle line above with code that draws a rect and see if that works. The you know if the pdf_rep object has a problem.

-António

----------------------------------------------------
There is a world of difference between
searching for happiness and choosing
to be happy.
----------------------------------------------------




_______________________________________________

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: 
 >Help with PDFPage to NSImage (From: Florian Soenens <email@hidden>)
 >Re: Help with PDFPage to NSImage (From: Antonio Nunes <email@hidden>)
 >Re: Help with PDFPage to NSImage (From: Florian Soenens <email@hidden>)
 >Re: Help with PDFPage to NSImage (From: Antonio Nunes <email@hidden>)

  • Prev by Date: Re: Help with PDFPage to NSImage
  • Next by Date: Re: Help with PDFPage to NSImage
  • Previous by thread: Re: Help with PDFPage to NSImage
  • Next by thread: NSComboBoxCell will not select
  • Index(es):
    • Date
    • Thread