osx man page for glutwarppointer

Query: glutwarppointer

OS: osx

Section: 3glut

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

glutWarpPointer(3GLUT)						       GLUT						    glutWarpPointer(3GLUT)

NAME
glutWarpPointer warps the pointer's location.
SYNTAX
#include <GLUT/glut.h> void glutWarpPointer(int x, int y);
ARGUMENTS
x X offset relative to the current window's origin (upper left). y Y offset relative to the current window's origin (upper left).
DESCRIPTION
glutWarpPointer warps the window system's pointer to a new location relative to the origin of the current window. The new location will be offset x pixels on the X axis and y pixels on the Y axis. These parameters may be negative. The warp is done immediately. If the pointer would be warped outside the screen's frame buffer region, the location will be clamped to the nearest screen edge. The win- dow system is allowed to further constrain the pointer's location in window system dependent ways. The following is good advice that applies to glutWarpPointer: ``There is seldom any reason for calling this function. The pointer should normally be left to the user.'' (from Xlib's XWarpPointer man page.)
SEE ALSO
glutMouseFunc, glutMotionFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutWarpPointer(3GLUT)
Related Man Pages
glutcreatesubwindow(3glut) - mojave
glutfullscreen(3glut) - mojave
glutcreatesubwindow(3glut) - suse
glutinitwindowposition(3glut) - suse
glutpositionwindow(3glut) - suse
Similar Topics in the Unix Linux Community
Mac OS X: Based on UNIX - Solid As a Rock
When is a _function_ not a _function_?
Shopt -s histappend
A dash to GOTO or a dash from GOTO, that is the question...
Syntax error in subtraction in Bash