PutDrawEnv

Sets the drawing environment

DRAWENV *PutDrawEnv (
        DRAWENV *env
)

Arguments

env Pointer to the drawing environment

Return Value

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

Explanation

The basic parameters of the drawing environment (e.g. drawing offset and drawing clip area) are established according to the drawing environment pointed to by env.

Notes

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

See Also

GsSwapDispBuff(), DRAWENV