IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcSetCursorPos ( unsigned short  x,
unsigned short  y 
)

This function can be used to change the cursor's position on the screen. The coordinates handed to this function represent the coordinates of the hot spot of the cursor. The hot spot is the sensitive point of the cursor. If the cursor image is for example an arrow, the hot spot will normally be the spearhead. If the cursor image is a cross, the hot spot will usually be the center of the cross.

Parameters:
x Designated x coordinate of the cursor
y Designated y coordinate of the cursor
Returns:
One of the following error codes is returned:
Since:
1.00
Targets:

GC01

GC04

X

X

See also:
gcShowCursor
Examples:
example09.c.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1