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

#include "graphics-toolkit.h"

Public Member Functions

 base_graphics_toolkit (const std::string &nm)
 
virtual ~base_graphics_toolkit ()=default
 
virtual void close ()
 
void finalize (const graphics_handle &)
 
virtual void finalize (const graphics_object &)
 
virtual Matrix get_canvas_size (const graphics_handle &) const
 
std::string get_name () const
 
virtual uint8NDArray get_pixels (const graphics_object &) const
 
virtual double get_screen_resolution () const
 
virtual Matrix get_screen_size () 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 () 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)
 

Friends

class graphics_toolkit
 

Detailed Description

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

Constructor & Destructor Documentation

◆ base_graphics_toolkit()

base_graphics_toolkit::base_graphics_toolkit ( const std::string &  nm)
inline

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

◆ ~base_graphics_toolkit()

virtual base_graphics_toolkit::~base_graphics_toolkit ( )
virtualdefault

Member Function Documentation

◆ close()

virtual void base_graphics_toolkit::close ( )
inlinevirtual

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

◆ finalize() [1/2]

void base_graphics_toolkit::finalize ( const graphics_handle h)

Definition at line 58 of file graphics-toolkit.cc.

References __get_gh_manager__(), finalize(), and gh_manager::get_object().

◆ finalize() [2/2]

virtual void base_graphics_toolkit::finalize ( const graphics_object )
inlinevirtual

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

Referenced by finalize().

◆ get_canvas_size()

virtual Matrix base_graphics_toolkit::get_canvas_size ( const graphics_handle ) const
inlinevirtual

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

◆ get_name()

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

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

◆ get_pixels()

virtual uint8NDArray base_graphics_toolkit::get_pixels ( const graphics_object ) const
inlinevirtual

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

◆ get_screen_resolution()

virtual double base_graphics_toolkit::get_screen_resolution ( ) const
inlinevirtual

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

◆ get_screen_size()

virtual Matrix base_graphics_toolkit::get_screen_size ( ) const
inlinevirtual

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

◆ get_text_extent()

virtual Matrix base_graphics_toolkit::get_text_extent ( const graphics_object ) const
inlinevirtual

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

◆ initialize() [1/2]

bool base_graphics_toolkit::initialize ( const graphics_handle h)

Definition at line 48 of file graphics-toolkit.cc.

References __get_gh_manager__(), gh_manager::get_object(), and initialize().

◆ initialize() [2/2]

virtual bool base_graphics_toolkit::initialize ( const graphics_object )
inlinevirtual

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

Referenced by initialize().

◆ is_valid()

virtual bool base_graphics_toolkit::is_valid ( ) const
inlinevirtual

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

◆ print_figure()

virtual void base_graphics_toolkit::print_figure ( const graphics_object ,
const std::string &  ,
const std::string &  ,
const std::string &  = "" 
) const
inlinevirtual

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

◆ redraw_figure()

virtual void base_graphics_toolkit::redraw_figure ( const graphics_object ) const
inlinevirtual

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

◆ show_figure()

virtual void base_graphics_toolkit::show_figure ( const graphics_object ) const
inlinevirtual

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

◆ update() [1/2]

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

Definition at line 38 of file graphics-toolkit.cc.

References __get_gh_manager__(), gh_manager::get_object(), and update().

◆ update() [2/2]

virtual void base_graphics_toolkit::update ( const graphics_object ,
int   
)
inlinevirtual

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

Referenced by update().

Friends And Related Function Documentation

◆ graphics_toolkit

friend class graphics_toolkit
friend

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


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