Re: Problem with dataWithPDFInsideRect
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