• 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
Changing origin/rotation while printing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing origin/rotation while printing?


  • Subject: Changing origin/rotation while printing?
  • From: Ryan Cabell <email@hidden>
  • Date: Tue, 12 Oct 2004 23:06:49 -0600

Hi,

I'm trying to draw a view to the printer that has multiple translateOriginToPoint: and setBoundsRotation:'s in it, and it's not behaving like I expect it to.

The code works fine when I'm drawing to the screen, but it would appear that when printing (or generating PDF data with dataWithPDFinsideRect:), all the rotations and translations are cumulative and then applied all at the end (in my case doing nothing).

Am I missing something here, or is this a bug, and if so, does anyone know a workaround? My guess is that the screen will let me draw in "multiple passes," so to speak, but the printer requires drawing all with one set CTM.

BTW, I have tried using an NSBitmapImageRep to draw into, but it seems to pick up superviews no matter what I do.

Thanks in advance,
-Ryan

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: my menus and LSUIElement = 1
  • Next by Date: Re: my menus and LSUIElement = 1
  • Previous by thread: Wrapping text in NSTableView cells
  • Next by thread: tooltip doesn't appear until losefocus/gainfocus
  • Index(es):
    • Date
    • Thread