GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
glutWarpPointer(3GLUT) GLUT glutWarpPointer(3GLUT)

glutWarpPointer warps the pointer's location.

void glutWarpPointer(int x, int y);

x
X offset relative to the current window's origin (upper left).
y
Y offset relative to the current window's origin (upper left).

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

glutMouseFunc, glutMotionFunc

Mark J. Kilgard (mjk@nvidia.com)
3.7 GLUT

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.