Method ZoomEnlarge
ZoomEnlarge(int, int, int, int, int, int)
Carries out a "zoom in" operation on the current view based on a given rectangle.
Declaration
public void ZoomEnlarge(int windowWidth, int windowHeight, int pixelX1, int pixelY1, int pixelX2, int pixelY2)
Parameters
Type | Name | Description |
---|---|---|
int | windowWidth | Width of the window (or image) for which the pixel coordinates are given. |
int | windowHeight | Height of the window (or image) for which the pixel coordinates are given. |
int | pixelX1 | X coordinate of the first point of the zoom rectangle. |
int | pixelY1 | Y coordinate of the first point of the zoom rectangle. |
int | pixelX2 | X coordinate of the opposite point of the zoom rectangle. |
int | pixelY2 | Y coordinate of the opposite point of the zoom rectangle. |