CImageView:GetCursorPos


The GetCursorPos method returns the center position of the image cursor in the CImageView. This function returns pixel coordinates.

Syntax

x, y, bSuccess = CImageView:GetCursorPos()

where

    x, y is the current image cursor position, in pixel coordinates.

    bSuccess is the returned success code. On success it is true, otherwise false.

Related Topics

SetCursorPos

CImageView class

Image Coordinate System

Subpixel Coordinate Definition