| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
assuming the method signature that you left out was:
- (void)drawRect:(NSRect)theRect
you are using theRect (which has nothing to do with the size of anything,
since it's merely the rectangle that has been exposed via the union of a bunch of calls to needsDisplayInRect) as the fromRect parameter in your call to drawInRect... this would cause random results..
use NSZeroRect there to indicate you want the whole source image.
I've hacked on a more complete version of the sample I sent you last time,
I'll send it along in the next email...
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.