ZoomIn function

ZoomIn()

Reset the construction viewport to its default settings.

ZoomIn(k)

Zoom the viewport by the given factor k about the origin, where k > 1 indicates zooming in and k < 1 (including negative k?) indicates zooming out.

ZoomIn(k, p)

Zoom the viewport by the given factor k about the given point p.

ZoomIn(k, coords)

Zoom the viewport by the given factor k about the point whose coordinates are coords[0] and coords[1] — for this to be valid, coords must be a two-element list or tuple both of whose elements are numbers.

ZoomIn(min_x, min_y, max_x, max_y)

Zoom the viewport such that it covers the rectangle whose bottom-left corner is the point (min_x, min_y) and whose top-right corner is the point (max_x, max_y). Do nothing if min_x > max_x or min_y > max_y.