PetscDrawSave#
Saves a drawn image
Synopsis#
#include "petscdraw.h"
PetscErrorCode PetscDrawSave(PetscDraw draw)
Collective
Input Parameter#
draw - the drawing context
Options Database Keys#
-draw_save [filename] -
filenamecould bename.extor.ext(where.extdetermines the type of graphics file to save, for example.png)-draw_save_final_image [filename] - saves the final image displayed in a window
-draw_save_single_file (true|false) - saves each new image in the same file, normally each new image is saved in a new file with filename/filename_%d.ext
Notes#
This is not normally called by the user.
See PetscDrawSetSave() for details on the possible image formats
See Also#
Level#
advanced
Location#
Implementations#
PetscDrawSave_Image() in src/sys/classes/draw/impls/image/drawimage.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages