convertImageRect(toViewRect:)
Converts an image rectangle to an image view rectangle.
Declaration
func convertImageRect(toViewRect imageRect: NSRect) -> NSRectParameters
- imageRect:
An rectangle specified in coordinates relative to the image.
Return Value
An rectangle specified in coordinates relative to the image view.