Notifies the superview of a clip view that the clip view needs to reset the origin of its bounds rectangle.
NSClipView object whose superview is to be notified.
A point that specifies the new origin of the clip view's bounds rectangle.
The superview of
clipView should then send a
scroll(to:) message to
point as the argument. This mechanism is provided so the
NSClipView object's superview can coordinate scrolling of multiple tiled clip views.
Scrolls the view’s closest ancestor
NSClipView object so a point in the view lies at the origin of the clip view's bounds rectangle.
func scroll(NSRect, by: NSSize)
Copies the visible portion of the view’s rendered image within a region and lays that portion down again at a specified offset .
Notifies a clip view’s superview that either the clip view’s bounds rectangle or the document view’s frame rectangle has changed, and that any indicators of the scroll position need to be adjusted.