26 #if ! defined (octave_graphics_toolkit_h)
27 #define octave_graphics_toolkit_h 1
29 #include "octave-config.h"
83 const std::string& =
"")
const
109 return Matrix (1, 2, 0.0);
164 error (
"%s: invalid graphics toolkit", fname.c_str ());
180 error (
"invalid graphics_toolkit!");
189 operator bool (
void)
const
191 return m_rep->is_valid ();
196 return m_rep->get_name ();
201 m_rep->redraw_figure (go);
206 m_rep->show_figure (go);
210 const std::string& file,
211 const std::string& debug_file =
"")
const
213 m_rep->print_figure (go, term, file, debug_file);
218 return m_rep->get_pixels (go);
223 return m_rep->get_canvas_size (fh);
228 return m_rep->get_screen_resolution ();
233 return m_rep->get_screen_size ();
238 return m_rep->get_text_extent (go);
244 m_rep->update (go,
id);
249 m_rep->update (h,
id);
255 return m_rep->initialize (go);
260 return m_rep->initialize (h);
268 m_rep->finalize (go);
284 std::shared_ptr<base_graphics_toolkit>
m_rep;
288 OCTAVE_DEPRECATED (6,
"use 'octave::graphics_toolkit' instead")
void error(const char *fmt,...)
intNDArray< octave_uint8 > uint8NDArray