This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



glutWarpPointer(3GLUT)                              GLUT                              glutWarpPointer(3GLUT)



NAME
       glutWarpPointer warps the pointer's location.

SYNTAX
       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 window 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 call-ing calling
       ing this function. The pointer should normally be left to the user.'' (from Xlib's  XWarpPointer  man
       page.)

SEE ALSO
       glutMouseFunc(3G), glutMotionFunc(3G)


AUTHOR
       Mark J. Kilgard (mjk@nvidia.com)



GLUT                                                 3.7                              glutWarpPointer(3GLUT)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...