NSImageView based Question- setting NSimage to nsimageview
I am using an NSImageView with the scale proportionally up or down property.
I am setting an image with larger size to the NSImageview and it is scaled down by keeping its aspect ratio.
How can i found the rect the image has been allocated to in the NSImageview
Since when it is drawn in an NSImageview(say 300,300 size) the image may not take the size(300,300) What will be rect image is drwan to withb respect to the NSImageview.I used the imagerectforbounds method of NSCell but giving back the NSImageview rect itself.
Any help plsss....
|