On Jan 9, 2013, at 09:25 AM, Kyle Sluder <[email protected]> wrote:

> On Jan 8, 2013, at 11:43 PM, Martin Hewitson <[email protected]> 
> wrote:
> 
>> Some interesting points/problems
>> 
>> - if I use -drawPage: instead, then the focus ring has the wrong size and 
>> overlaps the displayed pages. Don't know why.
>> - doing this in -drawPage: or -drawPagePost: solves the issue I was having
>> - using [self bounds] rather than [[self documentView] bounds] produces no 
>> visible focus ring
> 
> The documentation strongly implies that -drawPage: is called with a graphics 
> context that's been set up for drawing in the page's coordinate space, 
> whereas -drawPagePost: is documented to do its drawing in the PDFView's 
> coordinate space.

Thanks, Kyle. That explains what I see. Somehow I failed to extract those juicy 
facts from the documentation.

Martin

> 
> --Kyle Sluder






_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to