Translates the display rectangles by the specified delta.
- macOS 10.5+
A rectangle defining the region of the view, typically the view’s bounds.
A NSSize structure that specifies an offset from aRect’s origin.
This method performs the shifting of dirty rectangles that an equivalent
scroll(_: operation would cause, without performing the actual scroll operation. It is only useful in very rare cases where a view implements its own low-level scrolling mechanics.
Collects the receiving view's dirty rectangles.
Clears all dirty rectangles in the intersection of
clipand the view's bounds.
Shifts the retrieved rectangles by the
Clips the result to the intersection of
clipand the view's bounds
Marks the resultant rectangles as needing display.
The developer must ensure that
delta are pixel-aligned in order to guarantee correct drawing. See Transforming View Coordinates To and From Base Space for a description of how to pixel-align view coordinates.