Re: CGPDF - Setting /Rotation

2008-08-12 Thread Ken Ferry
Hi Pedro, Though people on this list will answer quartz questions if they know the answers, this is pretty deep CG. You may have better luck on the CoreGraphics list. http://lists.apple.com/mailman/listinfo/quartz-dev -Ken On Sun, Aug 10, 2008 at 3:02 PM, Pedro Cuenca [EMAIL PROTECTED] wrote:

CGPDF - Setting /Rotation

2008-08-10 Thread Pedro Cuenca
Hello, I have some code that generates PDF data, and I would need to set the /Rotation entry of some of the pages. The following code correctly sets the /MediaBox entry to the rectangle specified in the page dictionary: CGRect mediaBox = CGRectMake( 0.0, 0.0, 1024.0, 768.0 ); NSDictionary *