NSImage method problem
NSImage method problem
- Subject: NSImage method problem
- From: Jericho Hasselbush <email@hidden>
- Date: Fri, 16 May 2003 07:24:44 -0700
In the method:
- (void)drawInRect:(NSRect)dstRect fromRect:(NSRect)srcRect
operation:(NSCompositingOperation)op fraction:(float)delta
when I use 1.0 or a float value for the fraction: argument, I get a
compile error:
SimpleGameView.m:29: incompatible type for argument 4 of indirect
function call
Which makes absolutely no sense, because I am calling the function as
follows:
[image drawInRect:box fromRect:NULL operation:NSCompositeSourceOver
fraction:1.0];
thanks for the help
------------------------------------------------------------
Jericho Hasselbush || <email@hidden>
"Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world."
-Albert Einstein
_______________________________________________
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.