On May 4, 2009, at 6:45 PM, Mike Manzano wrote:
It's inverted because of differences in coordinate systems between
the image and the view it's being draw into.
Before you draw the image, invert it:
[[self image] setInverted:YES] ;
Before doing that, you should first ask the cell's view i
It's inverted because of differences in coordinate systems between the
image and the view it's being draw into.
Before you draw the image, invert it:
[[self image] setInverted:YES] ;
On May 4, 2009, at 12:25 PM, Livio Isaia wrote:
I have a custom NSButtonCell named MyButtonCell with a drawi
On May 4, 2009, at 1:25 PM, Livio Isaia wrote:
[[self image] drawInRect:cellFrame fromRect:NSZeroRect
operation:NSCompositeCopy fraction:1.0];
}
The image is well drawn... but upside down.
Can you tell why?
For some historical reason (you can probably find out more by
searching the
Am 04.05.2009 um 21:25 schrieb Livio Isaia:
The image is well drawn... but upside down.
Can you tell why?
Because your view/image isFlipped == NO?
atze
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requ