GetCurrentScanLine

Returns the current vertical scanline that the hardware is displaying.

Declaration

N_int32 NAPI GA_driverFuncs::GetCurrentScanLine(void)

Prototype In

snap/graphics.h

Return Value

Current scanline being displayed by the hardware.

Description

This function reads the hardware to determine what scanline is currently being displayed at the time of the call. This can be used to determine where on the screen the CRT raster beam is located, for special effects such as beam following animation.

Note:    Note that not all hardware supports this functionality. If the hardware does not support this, this function will be a NULL pointer.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com