[ prev :: next :: up ] libggimisc-current (3)

Find out where the raster beam is

Name

ggiGetRayPos : Find out where the raster beam is

Synopsis

#include <ggi/misc.h>

int ggiGetRayPos(ggi_visual_t vis, sint32* x, sint32* y);

Description

Though currently only implemented via matroxfb, this function will retrieve the current position of the raster beam on a display that uses a cathode ray tube, or resembles such internally. Because it has not been implemented and put into widespread use, there may be API fluctuation as to exactly what units :p:`x`, :p:`y` are in, especially on displays using doublescanning modes. In addition to numerical values, the following values can be returned in either dimension: GGI_RP_BORDER means the raster is in the border of the screen; GGI_RP_BLANK means the raster is past the border and is turned off; GGI_RP_SYNC means the raster is retracing to the top of the screen.

System Message: ERROR/3 (../lowlevel/libggimisc/doc/libggimisc.txt, line 29); backlink

Unknown interpreted text role "p".

System Message: ERROR/3 (../lowlevel/libggimisc/doc/libggimisc.txt, line 29); backlink

Unknown interpreted text role "p".

Return value

0 for OK, otherwise an error code.

See Also

:man:`ggiWaitRayPos(3)`

System Message: ERROR/3 (../lowlevel/libggimisc/doc/libggimisc.txt, line 50); backlink

Unknown interpreted text role "man".
 
[ prev :: next :: up ] libggimisc-current (3)
2006/08/09 02:58:21