• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Printing issue with flipped PDF images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: System Preferences groups
  • Next by Date: Showing an error message when the string entered in the NSTableView is too long
  • Previous by thread: Re: Cocoa-dev Digest, Vol 4, Issue 999
  • Next by thread: Showing an error message when the string entered in the NSTableView is too long
  • Index(es):
    • Date
    • Thread