Contents

convertImagePoint(toViewPoint:)

Converts an image coordinate to an image view coordinate.

Declaration

func convertImagePoint(toViewPoint imagePoint: NSPoint) -> NSPoint

Parameters

  • imagePoint:

    A point specified in coordinates relative to the image.

Return Value

A point specified in coordinates relative to the image view.

See Also

Converting Points and Rectangles