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 (Cocoa-dev@lists.apple.com)
>> 
>> 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:
>> http://lists.apple.com/mailman/options/cocoa-dev/graham.cox%40bigpond.com
>> 
>> This email sent to graham....@bigpond.com
> 
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

This email sent to arch...@mail-archive.com

Reply via email to