GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
graphics-utils.h File Reference
#include "octave-config.h"
#include <string>
#include "graphics-handle.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=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
 

Function Documentation

◆ close_figure()

void close_figure ( const graphics_handle h)
extern

Definition at line 161 of file graphics-utils.cc.

References gh_manager::execute_callback(), and xget().

Referenced by gh_manager::close_all_figures().

◆ delete_graphics_object() [1/2]

void delete_graphics_object ( const graphics_handle h,
bool  from_root = false 
)
extern

◆ delete_graphics_object() [2/2]

void delete_graphics_object ( double  val,
bool  from_root = false 
)
extern

Definition at line 143 of file graphics-utils.cc.

References delete_graphics_object(), isfigure(), and gh_manager::lookup().

◆ delete_graphics_objects()

void delete_graphics_objects ( const NDArray  vals,
bool  from_root = false 
)
extern

◆ force_close_figure()

void force_close_figure ( const graphics_handle h)
extern

Definition at line 171 of file graphics-utils.cc.

References delete_graphics_object(), and xset().

Referenced by gh_manager::close_all_figures().

◆ isfigure()

bool isfigure ( double  val)
extern

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().

◆ reparent()

graphics_handle reparent ( const octave_value ov,
const std::string &  who,
const std::string &  pname,
const graphics_handle new_parent,
bool  adopt = true 
)
extern

◆ xget()

octave_value xget ( const graphics_handle h,
const caseless_str pname 
)
extern

Definition at line 69 of file graphics-utils.cc.

References gh_manager::get_object().

Referenced by close_figure(), gca(), and gcf().

◆ xset() [1/2]

void xset ( const graphics_handle h,
const caseless_str pname,
const octave_value val 
)
extern

Definition at line 45 of file graphics-utils.cc.

References gh_manager::get_object().

Referenced by F__go_figure__(), and force_close_figure().

◆ xset() [2/2]

void xset ( const graphics_handle h,
const octave_value_list args 
)
extern

Definition at line 56 of file graphics-utils.cc.

References gh_manager::get_object(), and octave_value_list::length().

Variable Documentation

◆ delete_executing

bool delete_executing
extern

Definition at line 42 of file graphics-utils.cc.

Referenced by delete_graphics_objects(), and Fdrawnow().