GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
base_graphics_toolkit Class Reference

#include "graphics.h"

Inheritance diagram for base_graphics_toolkit:
Inheritance graph
[legend]
Collaboration diagram for base_graphics_toolkit:
Collaboration graph
[legend]

Public Member Functions

 base_graphics_toolkit (const std::string &nm)
 
 base_graphics_toolkit (const std::string &nm)
 
virtual ~base_graphics_toolkit (void)
 
virtual ~base_graphics_toolkit (void)
 
virtual void close (void)
 
virtual void close (void)
 
virtual void finalize (const graphics_object &)
 
virtual void finalize (const graphics_object &)
 
void finalize (const graphics_handle &)
 
void finalize (const graphics_handle &)
 
virtual Matrix get_canvas_size (const graphics_handle &) const
 
virtual Matrix get_canvas_size (const graphics_handle &) const
 
std::string get_name (void) const
 
std::string get_name (void) const
 
virtual double get_screen_resolution (void) const
 
virtual double get_screen_resolution (void) const
 
virtual Matrix get_screen_size (void) const
 
virtual Matrix get_screen_size (void) const
 
virtual bool initialize (const graphics_object &)
 
virtual bool initialize (const graphics_object &)
 
bool initialize (const graphics_handle &)
 
bool initialize (const graphics_handle &)
 
virtual bool is_valid (void) const
 
virtual bool is_valid (void) const
 
virtual void print_figure (const graphics_object &, const std::string &, const std::string &, bool, const std::string &="") const
 
virtual void print_figure (const graphics_object &, const std::string &, const std::string &, bool, const std::string &="") const
 
virtual void redraw_figure (const graphics_object &) const
 
virtual void redraw_figure (const graphics_object &) const
 
virtual void update (const graphics_object &, int)
 
virtual void update (const graphics_object &, int)
 
void update (const graphics_handle &, int)
 
void update (const graphics_handle &, int)
 

Private Member Functions

void gripe_invalid (const std::string &fname) const
 
void gripe_invalid (const std::string &fname) const
 

Private Attributes

octave_refcount< intcount
 
std::string name
 

Friends

class graphics_toolkit
 

Detailed Description

Definition at line 2118 of file graphics.h.

Constructor & Destructor Documentation

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

Definition at line 2124 of file graphics.h.

virtual base_graphics_toolkit::~base_graphics_toolkit ( void  )
inlinevirtual

Definition at line 2127 of file graphics.h.

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

Definition at line 2122 of file graphics.in.h.

virtual base_graphics_toolkit::~base_graphics_toolkit ( void  )
inlinevirtual

Definition at line 2125 of file graphics.in.h.

Member Function Documentation

virtual void base_graphics_toolkit::close ( void  )
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit.

Definition at line 2182 of file graphics.in.h.

References gripe_invalid().

virtual void base_graphics_toolkit::close ( void  )
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit.

Definition at line 2184 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::close().

virtual void base_graphics_toolkit::finalize ( const graphics_object )
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2176 of file graphics.in.h.

References gripe_invalid().

virtual void base_graphics_toolkit::finalize ( const graphics_object )
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2178 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::finalize().

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

Definition at line 2824 of file graphics.cc.

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

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

Reimplemented in gnuplot_graphics_toolkit.

Definition at line 2139 of file graphics.in.h.

References gripe_invalid().

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

Reimplemented in gnuplot_graphics_toolkit.

Definition at line 2141 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::get_canvas_size().

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

Definition at line 2127 of file graphics.in.h.

References name.

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

Definition at line 2129 of file graphics.h.

References name.

Referenced by graphics_toolkit::get_name().

virtual double base_graphics_toolkit::get_screen_resolution ( void  ) const
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit.

Definition at line 2145 of file graphics.in.h.

References gripe_invalid().

virtual double base_graphics_toolkit::get_screen_resolution ( void  ) const
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit.

Definition at line 2147 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::get_screen_resolution().

virtual Matrix base_graphics_toolkit::get_screen_size ( void  ) const
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit.

Definition at line 2151 of file graphics.in.h.

References gripe_invalid().

virtual Matrix base_graphics_toolkit::get_screen_size ( void  ) const
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit.

Definition at line 2153 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::get_screen_size().

void base_graphics_toolkit::gripe_invalid ( const std::string &  fname) const
inlineprivate

Definition at line 2190 of file graphics.in.h.

References error(), and is_valid().

void base_graphics_toolkit::gripe_invalid ( const std::string &  fname) const
inlineprivate
virtual bool base_graphics_toolkit::initialize ( const graphics_object )
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2168 of file graphics.in.h.

References gripe_invalid().

virtual bool base_graphics_toolkit::initialize ( const graphics_object )
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2170 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::initialize().

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

Definition at line 2816 of file graphics.cc.

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

virtual bool base_graphics_toolkit::is_valid ( void  ) const
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2129 of file graphics.in.h.

virtual bool base_graphics_toolkit::is_valid ( void  ) const
inlinevirtual

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2131 of file graphics.h.

Referenced by gripe_invalid(), and graphics_toolkit::operator bool().

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

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2134 of file graphics.in.h.

References gripe_invalid().

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

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2136 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::print_figure().

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

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2131 of file graphics.in.h.

References gripe_invalid().

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

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2133 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::redraw_figure().

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

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2160 of file graphics.in.h.

References gripe_invalid().

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

Reimplemented in gnuplot_graphics_toolkit, and QtHandles::Backend.

Definition at line 2162 of file graphics.h.

References gripe_invalid().

Referenced by graphics_toolkit::update().

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

Definition at line 2808 of file graphics.cc.

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

Friends And Related Function Documentation

Definition at line 2121 of file graphics.h.

Member Data Documentation

octave_refcount< int > base_graphics_toolkit::count
private
std::string base_graphics_toolkit::name
private

Definition at line 2188 of file graphics.h.

Referenced by get_name().


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