Re: Best way to move an image in a custom view?
Re: Best way to move an image in a custom view?
- Subject: Re: Best way to move an image in a custom view?
- From: Mark Dalrymple <email@hidden>
- Date: Wed, 9 Jun 2004 18:50:02 -0400
> What's the best way of doing this? The way I have it right now is a
> Connect4BoardView (: NSView) object. Inside that object I was
thinking of putting
> an NSImageView whose frame I'd change. Is there a better way?
I'd just use the NSImage and one of the image drawing calls
(dissolveToPoint, compositeToPoint or drawAtPoint) to draw the image
where it should go in your drawRect: rather than mucking around with
nested views.
Cheers,
++Mark Dalrymple, email@hidden
http://borkware.com
Live in Western Pennsylvania? Next CocoaHeads June 10.
http://cocoaheads.org
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.