CoreGraphics PDF Output?
CoreGraphics PDF Output?
- Subject: CoreGraphics PDF Output?
- From: Byron Ellis <email@hidden>
- Date: Mon, 7 Apr 2003 16:34:14 -0400
Hi guys, I'm trying to render a PDF using CoreGraphics and for some
reason the image size is always 0,0
My init code looks like this:
mediaBox = CGMakeRect(0,0,6*72.0,6*72.0);
ctxRef = CGPDFContextCreate(dcRef,&mediaBox,NULL);
CGContextBeginPage(ctxRef,NULL);
...
...
CGContextEndPage(ctxRef);
CGContextFlush(ctxRef);
but no dice. I found one message with similar code and problems when
searching cocoa.mamasam.com, but there wasn't ever a reply. Any help
(like someone with example code that works ;-) ) would be appreciated
Byron Ellis (email@hidden)
"Oook" - The Librarian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.