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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]