PLGraphicsIn: PLplot Graphics Input structure

The PLGraphicsIn structure is used by plGetCursor to return information on the current cursor position and key / button state for interactive drivers. The structure contains the following fields:

type (int)

Type of event (currently unused?).

state (unsigned int)

Key or button mask.

keysym (unsigned int)

Key selected.

button (unsigned int)

Mouse button selected.

subwindow (PLINT)

Subwindow (or subpage / subplot) number.

string (char [PL_MAXKEY])

Translated string.

pX, pY (int)

Absolute device coordinates of pointer.

dX, dY (PLFLT)

relative device coordinates of pointer.

wX, wY (PLFLT)

World coordinates of pointer.