#include "caseless-str.h"
#include "gh-manager.h"
#include "graphics-utils.h"
#include "graphics.h"
#include "input.h"
#include "interpreter-private.h"
#include "ov.h"
Go to the source code of this file.
Functions | |
void | close_figure (const graphics_handle &h) |
void | delete_graphics_object (const graphics_handle &h, bool from_root) |
void | delete_graphics_object (double val, bool from_root) |
void | delete_graphics_objects (const NDArray vals, bool from_root) |
void | force_close_figure (const graphics_handle &h) |
bool | isfigure (double val) |
graphics_handle | reparent (const octave_value &ov, const std::string &who, const std::string &pname, const graphics_handle &new_parent, bool adopt) |
octave_value | xget (const graphics_handle &h, const caseless_str &pname) |
void | xset (const graphics_handle &h, const caseless_str &pname, const octave_value &val) |
void | xset (const graphics_handle &h, const octave_value_list &args) |
Variables | |
bool | delete_executing = false |
void close_figure | ( | const graphics_handle & | h | ) |
Definition at line 161 of file graphics-utils.cc.
References gh_manager::execute_callback(), and xget().
Referenced by gh_manager::close_all_figures().
void delete_graphics_object | ( | const graphics_handle & | h, |
bool | from_root | ||
) |
Definition at line 121 of file graphics-utils.cc.
References gh_manager::free(), gh_manager::get_object(), octave_handle::ok(), and Vdrawnow_requested.
Referenced by delete_graphics_object(), delete_graphics_objects(), F__go_figure__(), and force_close_figure().
Definition at line 143 of file graphics-utils.cc.
References delete_graphics_object(), isfigure(), and gh_manager::lookup().
Definition at line 151 of file graphics-utils.cc.
References delete_executing, delete_graphics_object(), Array< T, Alloc >::elem(), and Array< T, Alloc >::numel().
Referenced by F__go_delete__().
void force_close_figure | ( | const graphics_handle & | h | ) |
Definition at line 171 of file graphics-utils.cc.
References delete_graphics_object(), and xset().
Referenced by gh_manager::close_all_figures().
Definition at line 79 of file graphics-utils.cc.
References gh_manager::get_object().
Referenced by delete_graphics_object(), F__go_figure__(), and gh_manager::free().
graphics_handle reparent | ( | const octave_value & | ov, |
const std::string & | who, | ||
const std::string & | pname, | ||
const graphics_handle & | new_parent, | ||
bool | adopt | ||
) |
Definition at line 89 of file graphics-utils.cc.
References error(), gh_manager::get_object(), gh_manager::lookup(), octave_handle::ok(), octave_handle::value(), and octave_value::xdouble_value().
octave_value xget | ( | const graphics_handle & | h, |
const caseless_str & | pname | ||
) |
Definition at line 69 of file graphics-utils.cc.
References gh_manager::get_object().
Referenced by close_figure(), gca(), and gcf().
void xset | ( | const graphics_handle & | h, |
const caseless_str & | pname, | ||
const octave_value & | val | ||
) |
Definition at line 45 of file graphics-utils.cc.
References gh_manager::get_object().
Referenced by F__go_figure__(), and force_close_figure().
void xset | ( | const graphics_handle & | h, |
const octave_value_list & | args | ||
) |
Definition at line 56 of file graphics-utils.cc.
References gh_manager::get_object(), and octave_value_list::length().
bool delete_executing = false |
Definition at line 42 of file graphics-utils.cc.
Referenced by delete_graphics_objects(), and Fdrawnow().