Re: Problem with dataWithPDFInsideRect
Re: Problem with dataWithPDFInsideRect
- Subject: Re: Problem with dataWithPDFInsideRect
- From: Izidor Jerebic <email@hidden>
- Date: Sat, 12 Nov 2005 19:11:06 +0100
On Nov 12, 2005, at 5:28 PM, Erik Buck wrote:
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 ?
You are wrong. This is not what is happening.
The scaling is applied correctly to the contents of the pdf document,
but the bounding box (pdf media box) of pdf document is wrong. The
scaling is not applied to everything, it is applied only partially.
This partiality is the problem. If it wouldn't apply at all, that
would be wrong but at least sometimes useful. As it stands now it is
always wrong and just plain broken...
izidor
P.S. And I checked the bugreport date - it was back in 2003....
_______________________________________________
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