GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
gnuplot_graphics_toolkit Class Reference
Inheritance diagram for gnuplot_graphics_toolkit:
Collaboration diagram for gnuplot_graphics_toolkit:

Public Member Functions

 gnuplot_graphics_toolkit (octave::interpreter &interp)
 
 ~gnuplot_graphics_toolkit (void)=default
 
void close (void)
 
void finalize (const graphics_handle &)
 
void finalize (const graphics_object &go)
 
Matrix get_canvas_size (const graphics_handle &) const
 
std::string get_name (void) const
 
virtual uint8NDArray get_pixels (const graphics_object &) const
 
double get_screen_resolution (void) const
 
Matrix get_screen_size (void) const
 
virtual Matrix get_text_extent (const graphics_object &) const
 
bool initialize (const graphics_handle &)
 
bool initialize (const graphics_object &go)
 
bool is_valid (void) const
 
void print_figure (const graphics_object &go, const std::string &term, const std::string &file, const std::string &debug_file) const
 
void redraw_figure (const graphics_object &go) const
 
virtual void show_figure (const graphics_object &) const
 
void update (const graphics_handle &, int)
 
void update (const graphics_object &go, int id)
 

Private Member Functions

void gripe_if_tkit_invalid (const std::string &fname) const
 
void send_quit (const octave_value &pstream) const
 

Private Attributes

octave::interpreterm_interpreter
 
std::string m_name
 

Detailed Description

Definition at line 60 of file __init_gnuplot__.cc.

Constructor & Destructor Documentation

◆ gnuplot_graphics_toolkit()

gnuplot_graphics_toolkit::gnuplot_graphics_toolkit ( octave::interpreter interp)
inline

Definition at line 63 of file __init_gnuplot__.cc.

◆ ~gnuplot_graphics_toolkit()

gnuplot_graphics_toolkit::~gnuplot_graphics_toolkit ( void  )
default

Member Function Documentation

◆ close()

void gnuplot_graphics_toolkit::close ( void  )
inlinevirtual

◆ finalize() [1/2]

void octave::base_graphics_toolkit::finalize ( const graphics_handle h)
inherited

◆ finalize() [2/2]

void gnuplot_graphics_toolkit::finalize ( const graphics_object go)
inlinevirtual

◆ get_canvas_size()

Matrix gnuplot_graphics_toolkit::get_canvas_size ( const graphics_handle ) const
inlinevirtual

Reimplemented from octave::base_graphics_toolkit.

Definition at line 139 of file __init_gnuplot__.cc.

◆ get_name()

std::string octave::base_graphics_toolkit::get_name ( void  ) const
inlineinherited

Definition at line 61 of file graphics-toolkit.h.

References octave::base_graphics_toolkit::m_name.

◆ get_pixels()

virtual uint8NDArray octave::base_graphics_toolkit::get_pixels ( const graphics_object ) const
inlinevirtualinherited

◆ get_screen_resolution()

double gnuplot_graphics_toolkit::get_screen_resolution ( void  ) const
inlinevirtual

Reimplemented from octave::base_graphics_toolkit.

Definition at line 145 of file __init_gnuplot__.cc.

◆ get_screen_size()

Matrix gnuplot_graphics_toolkit::get_screen_size ( void  ) const
inlinevirtual

Reimplemented from octave::base_graphics_toolkit.

Definition at line 148 of file __init_gnuplot__.cc.

◆ get_text_extent()

virtual Matrix octave::base_graphics_toolkit::get_text_extent ( const graphics_object ) const
inlinevirtualinherited

◆ gripe_if_tkit_invalid()

◆ initialize() [1/2]

bool octave::base_graphics_toolkit::initialize ( const graphics_handle h)
inherited

◆ initialize() [2/2]

bool gnuplot_graphics_toolkit::initialize ( const graphics_object go)
inlinevirtual

Reimplemented from octave::base_graphics_toolkit.

Definition at line 70 of file __init_gnuplot__.cc.

References graphics_object::isa().

◆ is_valid()

bool gnuplot_graphics_toolkit::is_valid ( void  ) const
inlinevirtual

Reimplemented from octave::base_graphics_toolkit.

Definition at line 68 of file __init_gnuplot__.cc.

◆ print_figure()

void gnuplot_graphics_toolkit::print_figure ( const graphics_object go,
const std::string &  term,
const std::string &  file,
const std::string &  debug_file 
) const
inlinevirtual

◆ redraw_figure()

void gnuplot_graphics_toolkit::redraw_figure ( const graphics_object go) const
inlinevirtual

◆ send_quit()

void gnuplot_graphics_toolkit::send_quit ( const octave_value pstream) const
inlineprivate

◆ show_figure()

virtual void octave::base_graphics_toolkit::show_figure ( const graphics_object ) const
inlinevirtualinherited

◆ update() [1/2]

void octave::base_graphics_toolkit::update ( const graphics_handle h,
int  id 
)
inherited

◆ update() [2/2]

void gnuplot_graphics_toolkit::update ( const graphics_object go,
int  id 
)
inlinevirtual

Member Data Documentation

◆ m_interpreter

octave::interpreter& gnuplot_graphics_toolkit::m_interpreter
private

Definition at line 181 of file __init_gnuplot__.cc.

Referenced by close(), and send_quit().

◆ m_name

std::string octave::base_graphics_toolkit::m_name
privateinherited

Definition at line 157 of file graphics-toolkit.h.

Referenced by octave::base_graphics_toolkit::get_name().


The documentation for this class was generated from the following file: