When i use:
[iconImage drawInRect:NSMakeRect(cellFrame.origin.x+5,yOffset+3,cellFrame.size.height-6, cellFrame.size.height-6)
fromRect:NSMakeRect(0,0,[iconImage size].width, [iconImage size].height)
operation:NSCompositeSourceOver
fraction:1.0];
to draw some images in NSOutlineView cells, the images are vertically turned upside down. How can i fix this?
thank
source
share