Re: PDFView drawPage called often after selecting text
Re: PDFView drawPage called often after selecting text
- Subject: Re: PDFView drawPage called often after selecting text
- From: Kyle Sluder <email@hidden>
- Date: Wed, 09 Jan 2013 00:25:05 -0800
On Jan 8, 2013, at 11:43 PM, Martin Hewitson <email@hidden> 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.
--Kyle Sluder
_______________________________________________
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