• 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: Problem with dataWithPDFInsideRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with dataWithPDFInsideRect


  • Subject: Re: Problem with dataWithPDFInsideRect
  • From: Erik Buck <email@hidden>
  • Date: Sat, 12 Nov 2005 11:28:23 -0500

I have no special insight in to what the AppKit designers may have intended, but perhaps a rationale for the observed behavior is the following:

Having bounds different from the frame is used just to transform a view for _viewing_. In other words, because the transforming operation is performed by the -display mechanisms in AppKit, the transform is only for display. With this reasoning, the bounds is the "true" definition of the view for WYSIWYG purposes and any differences between between frame and bounds are just for display.

In contrast, a transform that is applied within a -drawRect: implementation is part of the drawing regardless of the output device. Transforms within -drawRect: define the drawing as opposed to the environment in which drawing takes place ?

Just a thought...
_______________________________________________
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


  • Follow-Ups:
    • Re: Problem with dataWithPDFInsideRect
      • From: Izidor Jerebic <email@hidden>
  • Prev by Date: Re: NSTableView and dragging cursor
  • Next by Date: Re: How to see the arguments of methods from the stack trace during debugging
  • Previous by thread: Re: Problem with dataWithPDFInsideRect
  • Next by thread: Re: Problem with dataWithPDFInsideRect
  • Index(es):
    • Date
    • Thread