Some NSImageRep wonderings and problems
Some NSImageRep wonderings and problems
- Subject: Some NSImageRep wonderings and problems
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 3 Feb 2003 16:04:32 +0100
Let's say I have a NSImage with 3 NSBitmapImageRep.
1st issue:
If I get the NSImageRep of the NSImage using the "representations"
method. It looks like I can't remove any of the NSImage representations
due to the fact that the representations array is being retained by my
call to the "representations" method. It's a but problematic when you
want to remove representations and then draw the NSImage.
2nd issue:
When I'm using the same code in 2 applications. In one the [NSImage
drawInRect:fromRect:operation:fraction:] method is using the smallest
representation and in the other one is using the biggest
representation. So it looks like the choice of a representation is a
kind of lottery. I would have bet it was not the case but the facts are
saying the opposite.
_______________________________________________
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.