nfbSetOptions( )
allows the driver to inform the NFB layer
of certain characteristics
as well as tell the NFB layer its version number
for backwards compatibility.
You must call
nfbSetOptions( )
as the last statement in the
xxxInit( )
routine to tell the X server
which version of the link kit was used
to create the driver.
Arguments
pScreen
pointer to the current screen
version
X Display Driver's version number;
always NFB_VERSION.
optmask
bitmask of options used for passing
driver configuration options
to the NFB layer.
Supported values are:
NFB_ROTATE_STIPPLES
expand all stipples to double word boundaries
and attempt to rotate them
to the current drawable origin.
This is for adapters that can only fill patterns
with origins at (0,0).
NFB_ROTATE_TILES
expand all tiles to double word boundaries
and attempt to rotate them to the current drawable origin.
This is for adapters that can only fill patterns
with origins at (0,0).
NFB_POLYGON
display driver has implemented a polygon routine
that is fully compliant with the X protocol.
Currently, only EvenOdd fill rule polygons
are implemented and hardware clipping must be supported.
See
FillPolygons(D3nfb).
NFB_POLYBRES
tells NFB to gather multiple Bresenham lines
before asking the driver to render them.
This option was added for backwards compatibility
with older drivers that render
Bresenham lines one at a time.
optmask2
currently unused. Set to 0.
Exit codes
None
Version applicability
This function is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5, and AIX 5L.