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

#include "graphics-toolkit.h"

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 ()=default
 
void close ()
 
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 () const
 
uint8NDArray get_pixels (const graphics_object &go) const
 
double get_screen_resolution () const
 
Matrix get_screen_size () const
 
Matrix get_text_extent (const graphics_object &go) const
 
bool initialize (const graphics_handle &h)
 
bool initialize (const graphics_object &go)
 
 operator bool () 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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ graphics_toolkit() [1/3]

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

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

◆ graphics_toolkit() [2/3]

graphics_toolkit::graphics_toolkit ( base_graphics_toolkit new_rep)
inline

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

References error().

◆ graphics_toolkit() [3/3]

graphics_toolkit::graphics_toolkit ( const graphics_toolkit b)
default

◆ ~graphics_toolkit()

graphics_toolkit::~graphics_toolkit ( )
default

Member Function Documentation

◆ close()

void graphics_toolkit::close ( )
inline

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

◆ finalize() [1/2]

void graphics_toolkit::finalize ( const graphics_handle h)
inline

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

◆ finalize() [2/2]

void graphics_toolkit::finalize ( const graphics_object go)
inline

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

◆ get_canvas_size()

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

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

◆ get_name()

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

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

Referenced by gtk_manager::load_toolkit().

◆ get_pixels()

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

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

◆ get_screen_resolution()

double graphics_toolkit::get_screen_resolution ( ) const
inline

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

◆ get_screen_size()

Matrix graphics_toolkit::get_screen_size ( ) const
inline

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

◆ get_text_extent()

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

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

◆ initialize() [1/2]

bool graphics_toolkit::initialize ( const graphics_handle h)
inline

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

◆ initialize() [2/2]

bool graphics_toolkit::initialize ( const graphics_object go)
inline

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

◆ operator bool()

graphics_toolkit::operator bool ( ) const
inline

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

◆ operator=()

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

◆ print_figure()

void 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 210 of file graphics-toolkit.h.

◆ redraw_figure()

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

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

◆ show_figure()

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

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

◆ update() [1/2]

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

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

◆ update() [2/2]

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

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


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