Contents

convertFromBacking(_:)

Converts a rectangle from its pixel aligned backing store coordinate system to the view’s interior coordinate system.

Declaration

func convertFromBacking(_ rect: NSRect) -> NSRect

Parameters

  • rect:

    The rectangle in the pixel backing store coordinate system.

Return Value

A rectangle in the view’s interior coordinate system.

See Also

Converting Coordinate Values