CImageView:GetCursorRect
The GetCursorRect method returns the extent of the image cursor in the CImageView. This function returns the rectangle limits in pixel coordinates.
CRect = CImageView:GetCursorRect() |
Assume that a CImageView object named V exists and refers to an image window. The following script fragment sets the image cursor to an x-range of 100:200 and a y-range of 300:500:
|
-- retrieve the image cursor |
|
-- print the image cursor limits. |
CImageView, SetCursorRect, SetCursorExtent, CRect, Image Coordinate System, Subpixel Coordinate Definition