• 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 and views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing and views


  • Subject: Printing and views
  • From: Graham <email@hidden>
  • Date: Thu, 28 Apr 2005 10:04:45 -0400

Hi,

I am implementing help in my app for the firs time.
By default I can just let Cocoa handle most things and then in my drawRect, check the drawing context to see if it's the printer and if so I draw something a little different in my view.
By default though, Cocoa centers my view on the page and it's always the same size on the page. I am doing an image.drawInRect() when printing and even if I change the rect size to something other than passed into the view's drawRect method it still clips on the paper to the same size and centered. What steps should I take to make my view (an image in this case) fill the page, or be positioned/scaled where I want it?


Kind regards,

Graham

_______________________________________________
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: Setting subclass of NSArrayController as data source programmatically
  • Next by Date: Re: [OT] WWDC hotels for car-less people?
  • Previous by thread: Re: Setting subclass of NSArrayController as data source programmatically
  • Next by thread: KVO Key Reasoning
  • Index(es):
    • Date
    • Thread