NSImage drawInRect:
NSImage drawInRect:
- Subject: NSImage drawInRect:
- From: Aidas Dailide <email@hidden>
- Date: Wed, 18 Jun 2003 11:32:24 +0300
Hi,
I have a little problem. For some reason this code draws image with
black background. I am sure that my image is transparent. Here is my
code:
[[NSImage imageNamed:@"rutuliukas"] drawInRect:handleRect
fromRect:NSMakeRect(0,0,[[NSImage imageNamed:@"rutuliukas"]
size].width,[[NSImage imageNamed:@"rutuliukas"] size].height)
operation:NSCompositeCopy fraction:1.0];
What is wrong with this?
Thanks,
Aidas
_______________________________________________
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.