Re: Printing [SOLVED]
Re: Printing [SOLVED]
- Subject: Re: Printing [SOLVED]
- From: koko <email@hidden>
- Date: Fri, 19 Aug 2011 10:57:38 -0600
The bounds of my print view did not contain the rect returned in rectForPage.
-koko
On Aug 18, 2011, at 7:05 PM, Graham Cox wrote:
> <shrugs>
>
> Show your code. How are we supposed to debug something we can't even see?
>
> perhaps -rectForPage: is returning an empty rect? Perhaps you're not setting up the printing view correctly? Perhaps you've written the code in a strange dialect of Swahili?
>
> --Graham
>
>
> On 19/08/2011, at 10:45 AM, koko wrote:
>
>> I have view that I use for printing.
>>
>> knowsPageRange is called
>>
>> rectForPage is called
>>
>> BUT
>>
>> drawRect is not called
>>
>> What in the name of HP am I missing?
>>
>> -koko
>> _______________________________________________
>>
>> 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
>
>
_______________________________________________
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