#include "graphics-toolkit.h"
Public Member Functions | |
base_graphics_toolkit (const std::string &nm) | |
virtual | ~base_graphics_toolkit (void)=default |
virtual void | close (void) |
void | finalize (const graphics_handle &) |
virtual void | finalize (const graphics_object &) |
virtual Matrix | get_canvas_size (const graphics_handle &) const |
std::string | get_name (void) const |
virtual uint8NDArray | get_pixels (const graphics_object &) const |
virtual double | get_screen_resolution (void) const |
virtual Matrix | get_screen_size (void) const |
virtual Matrix | get_text_extent (const graphics_object &) const |
bool | initialize (const graphics_handle &) |
virtual bool | initialize (const graphics_object &) |
virtual bool | is_valid (void) const |
virtual void | print_figure (const graphics_object &, const std::string &, const std::string &, const std::string &="") const |
virtual void | redraw_figure (const graphics_object &) const |
virtual void | show_figure (const graphics_object &) const |
void | update (const graphics_handle &, int) |
virtual void | update (const graphics_object &, int) |
Private Member Functions | |
void | gripe_if_tkit_invalid (const std::string &fname) const |
Private Attributes | |
std::string | m_name |
Friends | |
class | graphics_toolkit |
Definition at line 47 of file graphics-toolkit.h.
|
inline |
Definition at line 55 of file graphics-toolkit.h.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in gnuplot_graphics_toolkit.
Definition at line 150 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
void octave::base_graphics_toolkit::finalize | ( | const graphics_handle & | h | ) |
Definition at line 59 of file graphics-toolkit.cc.
References octave::__get_gh_manager__(), finalize(), and gh_manager::get_object().
|
inlinevirtual |
Reimplemented in QtHandles::qt_graphics_toolkit, and gnuplot_graphics_toolkit.
Definition at line 142 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
Referenced by finalize().
|
inlinevirtual |
Reimplemented in gnuplot_graphics_toolkit.
Definition at line 94 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inline |
Definition at line 61 of file graphics-toolkit.h.
References m_name.
|
inlinevirtual |
Reimplemented in QtHandles::qt_graphics_toolkit.
Definition at line 88 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Reimplemented in gnuplot_graphics_toolkit.
Definition at line 100 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Reimplemented in gnuplot_graphics_toolkit.
Definition at line 106 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Reimplemented in QtHandles::qt_graphics_toolkit.
Definition at line 112 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlineprivate |
Definition at line 161 of file graphics-toolkit.h.
References error(), and is_valid().
Referenced by close(), finalize(), get_canvas_size(), get_pixels(), get_screen_resolution(), get_screen_size(), get_text_extent(), initialize(), print_figure(), redraw_figure(), show_figure(), and update().
bool octave::base_graphics_toolkit::initialize | ( | const graphics_handle & | h | ) |
Definition at line 48 of file graphics-toolkit.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), and initialize().
|
inlinevirtual |
Reimplemented in QtHandles::qt_graphics_toolkit, and gnuplot_graphics_toolkit.
Definition at line 131 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
Referenced by initialize().
|
inlinevirtual |
Reimplemented in gnuplot_graphics_toolkit, and QtHandles::qt_graphics_toolkit.
Definition at line 66 of file graphics-toolkit.h.
Referenced by gripe_if_tkit_invalid().
|
inlinevirtual |
Reimplemented in QtHandles::qt_graphics_toolkit, and gnuplot_graphics_toolkit.
Definition at line 81 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Reimplemented in QtHandles::qt_graphics_toolkit, and gnuplot_graphics_toolkit.
Definition at line 71 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Reimplemented in QtHandles::qt_graphics_toolkit.
Definition at line 76 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
void octave::base_graphics_toolkit::update | ( | const graphics_handle & | h, |
int | id | ||
) |
Definition at line 37 of file graphics-toolkit.cc.
References octave::__get_gh_manager__(), gh_manager::get_object(), and update().
|
inlinevirtual |
Reimplemented in QtHandles::qt_graphics_toolkit, and gnuplot_graphics_toolkit.
Definition at line 121 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
Referenced by update().
|
friend |
Definition at line 51 of file graphics-toolkit.h.
|
private |
Definition at line 157 of file graphics-toolkit.h.
Referenced by get_name().