Supported Browsers Home   
PostSwitchPhysicalResolution Previous   
RotateBitmap Next   
REF2D_driver Up   

QueryFunctions

Returns the function pointers for the specified ref2d function group.

Declaration

ibool NAPI REF2D_driver::QueryFunctions(
    N_uint32 id,
    void *funcs)

Prototype In

snap/ref2d.h

Parameters

id

Identifier for the function group to get pointers for

funcs

Pointer to function block to fill in

 

Return Value

True if the requested function group is available, false if not.

Description

This function is the similar to GA_queryFunctions function except that the functions are queried via the 2d reference rasteriser library. This is the function that application level code should use to get access to the SNAP rendering functions that are fleshed out with software rendered functions as necessary.

Note:    Application code should not call this function directly, but instead call REF2D_queryFunctions.

Note:    To allow for future compatibility, all function blocks begin with a dwSize member. The caller is expected to fill in the dwSize member with the size of the function block being retrieved before calling QueryFunctions. If the driver exports more functions than the application knows about, only a subset of the functions are copied to the application. If the application expects more functions than the driver provides, the non-existant functions are set to NULL pointers by QueryFunctions, and the remainder copies from the driver.

See Also

REF2D_queryFunctions

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