PutDispEnv

Sets the display environment

DISPENV *PutDispEnv (
        DISPENV *env
)

Arguments

env Pointer to the display environment

Return Value

A pointer to the new display environment is returned if the function succeeded.
0 is returned if PutDispEnv() failed to set the new display environment.

Explanation

The basic parameters of the display environment are established according to the display environment pointed to by env.
The display environment becomes effective immediately when the function is called.

Notes

The drawing environment specified by PutDispEnv() is valid until the next call to PutDispEnv() or GsSwapDispBuff().

See Also

GsSwapDispBuff(), DISPENV