DrawSetType

Builds graphics object for a particular implementation

Synopsis

#include "petscdraw.h" 
int DrawSetType(Draw draw,DrawType type)
Collective on Draw

Input Parameter

draw - the graphics context
type - for example, DRAW_X

Options Database Command

-draw_type <type> -Sets the type; use -help for a list of available methods (for instance, x)

Notes

See "petsc/include/petscdraw.h" for available methods (for instance, DRAW_X)

See Also

DrawSetFromOptions(), DrawCreate(), DrawDestroy()

Level:intermediate
Location:
src/sys/src/draw/interface/drawreg.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex4.c
src/snes/examples/tutorials/ex4f.F