• 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
Re: NSPrintInfo and NSPageLayout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPrintInfo and NSPageLayout


  • Subject: Re: NSPrintInfo and NSPageLayout
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 08 Oct 2011 21:56:27 -0500

On Oct 8, 2011, at 8:29 AM, Torsten Curdt wrote:

>>> So I have the panel and the preview is correct. Now I click to change
>>> the orientation from portrait to landscape. Of course at a scaling
>>> factor of 100% it should fill the page, but instead it's just sticks
>>> to the previous size and centers it on the page.
>>>
>>> What am I missing there?
>>
>> Hard to know from just that description.
>
> Well, the code is here
>
> https://gist.github.com/919d845b2e1b5becbaac

That doesn't show if the view class implements the various methods which affect pagination (things like -knowsPageRange: or -adjustPageHeightNew:top:bottom:limit:).  Nor does it show the -drawRect: method to show how it draws and how that's affected by the bounds, etc.

Regards,
Ken

_______________________________________________

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

References: 
 >NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Ken Thomases <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Ken Thomases <email@hidden>)
 >Re: NSPrintInfo and NSPageLayout (From: Torsten Curdt <email@hidden>)

  • Prev by Date: dataWithBytesNoCopy:length:freeWhenDone
  • Next by Date: Re: dataWithBytesNoCopy:length:freeWhenDone
  • Previous by thread: Re: NSPrintInfo and NSPageLayout
  • Next by thread: How to blink with a focus ring of the text box?
  • Index(es):
    • Date
    • Thread