DrawSetType

Builds graphics object for a particular implementation

Synopsis

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/draw.h" for available methods (for instance, DRAW_X)

Keywords

Draw, set, method

See Also

DrawSetFromOptions(), DrawCreate(), DrawDestroy()

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