IsHardwareCursor

Determines if the current cursor is a hardware cursor or software cursor

Declaration

N_int32 NAPI GA_cursorFuncs::IsHardwareCursor(void)

Prototype In

snap/graphics.h

Description

This function is used to determine if the currently active cursor is implemented in software or hardware. This function should be called immediately after downloading a new cursor images via the 2d reference rasteriser library. If the device driver is able to implement the cursor in hardware, this function will return true. If the 2d reference rasteriser library has to fall back to software, this function will return false. If this function does return false, the application program must use the BeginAccess and EndAccess functions to ensure the software cursor images is correctly excluded from the screen for all drawing operations.

This function will not be provided by hardware drivers, only by the 2d reference rasteriser library.

See Also

SetMonoCursor, SetMonoCursorColor, SetColorCursor, SetCursorPos, ShowCursor, BeginAccess, EndAccess, SetColorCursor256, SetColorCursorRGBA, IsHardwareCursor, SetColorCursorRGB

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