Gets the position and size of the visible region of a snip (in snip coordinates).
If snip is not null, the current visible region of the snip is installed in the boxes x, y, w, and w. The x and y values are relative to the snip's top-left corner.
If snip is null, the total visible region of the snip's display is returned in buffer coordinates.