#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 46 of file graphics-toolkit.h.
|
inline |
Definition at line 54 of file graphics-toolkit.h.
|
virtualdefault |
|
inlinevirtual |
Definition at line 149 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
void base_graphics_toolkit::finalize | ( | const graphics_handle & | h | ) |
Definition at line 57 of file graphics-toolkit.cc.
References __get_gh_manager__(), and finalize().
|
inlinevirtual |
Definition at line 141 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
Referenced by finalize().
|
inlinevirtual |
Definition at line 93 of file graphics-toolkit.h.
References gripe_if_tkit_invalid(), and Matrix.
|
inline |
Definition at line 60 of file graphics-toolkit.h.
References m_name.
|
inlinevirtual |
Definition at line 87 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Definition at line 99 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Definition at line 105 of file graphics-toolkit.h.
References gripe_if_tkit_invalid(), and Matrix.
|
inlinevirtual |
Definition at line 111 of file graphics-toolkit.h.
References gripe_if_tkit_invalid(), and Matrix.
|
inlineprivate |
Definition at line 160 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 base_graphics_toolkit::initialize | ( | const graphics_handle & | h | ) |
Definition at line 47 of file graphics-toolkit.cc.
References __get_gh_manager__(), and initialize().
|
inlinevirtual |
Definition at line 130 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
Referenced by initialize().
|
inlinevirtual |
Definition at line 65 of file graphics-toolkit.h.
Referenced by gripe_if_tkit_invalid().
|
inlinevirtual |
Definition at line 80 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Definition at line 70 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
|
inlinevirtual |
Definition at line 75 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
void base_graphics_toolkit::update | ( | const graphics_handle & | h, |
int | id | ||
) |
Definition at line 37 of file graphics-toolkit.cc.
References __get_gh_manager__(), and update().
|
inlinevirtual |
Definition at line 120 of file graphics-toolkit.h.
References gripe_if_tkit_invalid().
Referenced by update().
|
friend |
Definition at line 50 of file graphics-toolkit.h.
|
private |
Definition at line 156 of file graphics-toolkit.h.
Referenced by get_name().