Printing issue with flipped PDF images
Printing issue with flipped PDF images
- Subject: Printing issue with flipped PDF images
- From: email@hidden
- Date: Wed, 10 Oct 2007 17:42:39 +0100
Dear All
I am trying to draw a PDF image into a view that its coordinates have
been flipped, so in order for the image to be the right way up I need
to also flip it.
I create a NSPDFImageRep from the PDF, and then I add it as a
representaion to a NSImage class, which has no other representations.
Then to flip it I use the NSImage class method "setFlipped:" setting
it to YES;
Now it all works well when drawing to the view on the screen, but
when I want to print form the view the image is miss placed
vertically. The image sizes remain as expected, but the y offset is
increased by a factor of about 4. if I do not flip the image in the
NSImage it works fine, but the image is upsidedown.
does anybody have any suggestions.
PS this is on 10.4 system
Thanks
Fred
_______________________________________________
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