NSCopyBits tain't clear
NSCopyBits tain't clear
- Subject: NSCopyBits tain't clear
- From: Jerry LeVan <email@hidden>
- Date: Fri, 13 Dec 2002 13:18:51 -0500
Hi,
Ok, I have a black filled rectangle inside of a subclassed view. I would
like to copy the rectangle to some other place in the view using
NSCopyBits. (just to see if I can...)
1) is this possible :)
2) the online documentation for NSCopyBits mumbles about NSNullObject, the
compiler gives an error if this value is used in the call.
My call looks like:
NSCopyBits(???,theRect, thePoint)
The rectangle "theRect" is my rectangle in the view coordinates, "thePoint"
is a point where I want to move the rectangle to. Tain't clear to me what
The "???" should be. (NSNullObject causes the compiler to croak.)
--Jerry
_______________________________________________
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.