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=false) |
void | delete_graphics_object (double val, bool from_root=false) |
void | delete_graphics_objects (const NDArray vals, bool from_root=false) |
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=true) |
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 |
void close_figure | ( | const graphics_handle & | h | ) |
Definition at line 161 of file graphics-utils.cc.
References __get_gh_manager__(), gh_manager::execute_callback(), and xget().
Referenced by gh_manager::close_all_figures().
void delete_graphics_object | ( | const graphics_handle & | h, |
bool | from_root = false |
||
) |
Definition at line 121 of file graphics-utils.cc.
References __get_gh_manager__(), gh_manager::free(), gh_manager::get_object(), graphics_object::get_properties(), base_properties::is_beingdeleted(), graphics_object::isa(), octave_handle::ok(), and Vdrawnow_requested.
Referenced by delete_graphics_object(), delete_graphics_objects(), F__go_figure__(), and force_close_figure().
void delete_graphics_object | ( | double | val, |
bool | from_root = false |
||
) |
Definition at line 143 of file graphics-utils.cc.
References __get_gh_manager__(), delete_graphics_object(), isfigure(), and gh_manager::lookup().
void delete_graphics_objects | ( | const NDArray | vals, |
bool | from_root = false |
||
) |
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().
bool isfigure | ( | double | val | ) |
Definition at line 79 of file graphics-utils.cc.
References __get_gh_manager__(), gh_manager::get_object(), and graphics_object::isa().
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 = true |
||
) |
Definition at line 89 of file graphics-utils.cc.
octave_value xget | ( | const graphics_handle & | h, |
const caseless_str & | pname | ||
) |
Definition at line 69 of file graphics-utils.cc.
References __get_gh_manager__(), graphics_object::get(), and 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 __get_gh_manager__(), gh_manager::get_object(), and graphics_object::set().
Referenced by F__go_figure__(), force_close_figure(), axes::properties::init(), root_figure::properties::remove_child(), figure::properties::set_integerhandle(), axes::properties::set_title(), figure::properties::set_visible(), axes::properties::set_xlabel(), axes::properties::set_ylabel(), and axes::properties::set_zlabel().
void xset | ( | const graphics_handle & | h, |
const octave_value_list & | args | ||
) |
Definition at line 56 of file graphics-utils.cc.
References __get_gh_manager__(), gh_manager::get_object(), octave_value_list::length(), and graphics_object::set().
|
extern |
Definition at line 42 of file graphics-utils.cc.
Referenced by delete_graphics_objects(), and Fdrawnow().