Instance Method

convertRectFromBacking:

Converts a rect from its pixel aligned backing store coordinate system to the window’s coordinate system.

Declaration

- (NSRect)convertRectFromBacking:(NSRect)rect;

Parameters

rect

The rect in the pixel backing store aligned coordinate system.

Return Value

A rect in the window’s coordinate system.

See Also

Converting Coordinates

backingScaleFactor

The backing scale factor.

- backingAlignedRect:options:

Returns a backing store pixel aligned rectangle in window coordinates.

- convertRectToBacking:

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

- convertRectToScreen:

Converts the rectangle to the screen coordinate system from the window’s coordinate system.

- convertRectFromScreen:

Converts the rectangle from the screen coordinate system to the window’s coordinate system

- convertBaseToScreen:

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

Deprecated
- convertScreenToBase:

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

Deprecated
- userSpaceScaleFactor

Returns the scale factor applied to the window.

Deprecated