Contents

convertPoint(fromScreen:)

Converts a point from the screen coordinate system to the window’s coordinate system.

Declaration

func convertPoint(fromScreen point: NSPoint) -> NSPoint

Parameters

  • point:

    A point in the screen’s coordinate system.

Return Value

A point in the window’s coordinate system.

See Also

Converting Coordinates