Re: Help with PDFPage to NSImage
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