I am changing now ... thanks!

On Jul 28, 2009, at 12:10 PM, Erik Buck wrote:

That was the right approach ... one twist, I set the view frame when
drawRect is called to the size of my image.

Don't do that. Do read the documentation. The only thing you should do in -drawRect: is draw. In particular, changing the frame inside drawRect: will invalidate all or part of the calculations performed by the framework in -display and other view drawing methods that are called before and after -drawRect:.


_______________________________________________

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

This email sent to [email protected]




_______________________________________________

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

This email sent to [email protected]

Reply via email to