DrawSetFromOptions

Sets the graphics type from the options database. Defaults to a PETSc X windows graphics.

Synopsis

#include "draw.h" 
int DrawSetFromOptions(Draw draw)
Collective on Draw

Input Parameter

draw -the graphics context

Options Database

-nox - do not use X graphics (ignore graphics calls, but run program correctly)
-nox_warning - when X windows support is not installed this prevents the warning message from being printed

Notes

Must be called after DrawCreate() before the Drawtor is used.

Keywords

draw

See Also

DrawCreate(), DrawSetType()

Level:intermediate
Location:src/sys/src/draw/interface/drawreg.c
Graphics (Draw) Index
Table of Contents