MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / TclFeViewer_clearImage

Function TclFeViewer_clearImage

SRC/tcl/TclFeViewer.cpp:943–959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

941
942
943int
944TclFeViewer_clearImage(ClientData clientData, Tcl_Interp *interp, int argc,
945 TCL_Char **argv)
946{
947#ifdef _NOGRAPHICS
948 // if no graphics .. just return 0
949 return TCL_OK;
950#else
951
952 // check destructor has not been called
953 if (theTclFeViewer == 0)
954 return TCL_OK;
955
956 theTclFeViewer->clearImage();
957 return TCL_OK;
958#endif
959}
960
961int
962TclFeViewer_saveImage(ClientData clientData, Tcl_Interp *interp, int argc,

Callers

nothing calls this directly

Calls 1

clearImageMethod · 0.45

Tested by

no test coverage detected