GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::graphics_toolkit Class Reference

#include "graphics-toolkit.h"

Collaboration diagram for octave::graphics_toolkit:

Public Member Functions

 graphics_toolkit (base_graphics_toolkit *new_rep)
 
 graphics_toolkit (const graphics_toolkit &b)=default
 
 graphics_toolkit (const std::string &name="unknown")
 
 ~graphics_toolkit (void)=default
 
void close (void)
 
void finalize (const graphics_handle &h)
 
void finalize (const graphics_object &go)
 
Matrix get_canvas_size (const graphics_handle &fh) const
 
std::string get_name (void) const
 
uint8NDArray get_pixels (const graphics_object &go) const
 
double get_screen_resolution (void) const
 
Matrix get_screen_size (void) const
 
Matrix get_text_extent (const graphics_object &go) const
 
bool initialize (const graphics_handle &h)
 
bool initialize (const graphics_object &go)
 
 operator bool (void) const
 
graphics_toolkitoperator= (const graphics_toolkit &b)=default
 
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
 
void show_figure (const graphics_object &go) const
 
void update (const graphics_handle &h, int id)
 
void update (const graphics_object &go, int id)
 

Private Attributes

std::shared_ptr< base_graphics_toolkitm_rep
 

Detailed Description

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

Constructor & Destructor Documentation

◆ graphics_toolkit() [1/3]

octave::graphics_toolkit::graphics_toolkit ( const std::string &  name = "unknown")
inline

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

◆ graphics_toolkit() [2/3]

octave::graphics_toolkit::graphics_toolkit ( base_graphics_toolkit new_rep)
inline

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

References error(), and m_rep.

◆ graphics_toolkit() [3/3]

octave::graphics_toolkit::graphics_toolkit ( const graphics_toolkit b)
default

◆ ~graphics_toolkit()

octave::graphics_toolkit::~graphics_toolkit ( void  )
default

Member Function Documentation

◆ close()

void octave::graphics_toolkit::close ( void  )
inline

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

References m_rep.

◆ finalize() [1/2]

void octave::graphics_toolkit::finalize ( const graphics_handle h)
inline

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

References m_rep.

◆ finalize() [2/2]

void octave::graphics_toolkit::finalize ( const graphics_object go)
inline

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

References m_rep.

◆ get_canvas_size()

Matrix octave::graphics_toolkit::get_canvas_size ( const graphics_handle fh) const
inline

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

References m_rep.

◆ get_name()

std::string octave::graphics_toolkit::get_name ( void  ) const
inline

◆ get_pixels()

uint8NDArray octave::graphics_toolkit::get_pixels ( const graphics_object go) const
inline

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

References m_rep.

Referenced by F__get_frame__().

◆ get_screen_resolution()

double octave::graphics_toolkit::get_screen_resolution ( void  ) const
inline

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

References m_rep.

◆ get_screen_size()

Matrix octave::graphics_toolkit::get_screen_size ( void  ) const
inline

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

References m_rep.

◆ get_text_extent()

Matrix octave::graphics_toolkit::get_text_extent ( const graphics_object go) const
inline

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

References m_rep.

◆ initialize() [1/2]

bool octave::graphics_toolkit::initialize ( const graphics_handle h)
inline

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

References m_rep.

◆ initialize() [2/2]

bool octave::graphics_toolkit::initialize ( const graphics_object go)
inline

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

References m_rep.

◆ operator bool()

octave::graphics_toolkit::operator bool ( void  ) const
inline

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

References m_rep.

◆ operator=()

graphics_toolkit& octave::graphics_toolkit::operator= ( const graphics_toolkit b)
default

◆ print_figure()

void octave::graphics_toolkit::print_figure ( const graphics_object go,
const std::string &  term,
const std::string &  file,
const std::string &  debug_file = "" 
) const
inline

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

References m_rep.

Referenced by Fdrawnow().

◆ redraw_figure()

void octave::graphics_toolkit::redraw_figure ( const graphics_object go) const
inline

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

References m_rep.

Referenced by set_event::execute(), and Fdrawnow().

◆ show_figure()

void octave::graphics_toolkit::show_figure ( const graphics_object go) const
inline

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

References m_rep.

Referenced by F__show_figure__().

◆ update() [1/2]

void octave::graphics_toolkit::update ( const graphics_handle h,
int  id 
)
inline

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

References m_rep.

◆ update() [2/2]

void octave::graphics_toolkit::update ( const graphics_object go,
int  id 
)
inline

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

References m_rep.

Member Data Documentation

◆ m_rep


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