#include "petscdraw.h" int PetscDrawGetMouseButton(PetscDraw draw,PetscDrawButton *button,PetscReal* x_user,PetscReal *y_user,PetscReal *x_phys,PetscReal *y_phys)Not collective (Use PetscDrawSynchronizedGetMouseButton() for collective)
button | - one of BUTTON_LEFT, BUTTON_CENTER, BUTTON_RIGHT | |
x_user, y_user | - user coordinates of location (user may pass in 0). | |
x_phys, y_phys | - window coordinates (user may pass in 0). |
Level:intermediate
Location:src/sys/src/draw/interface/dmouse.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages