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
Classes | Macros | Typedefs | Enumerations | Functions
graphics.in.h File Reference
#include <cctype>
#include <algorithm>
#include <list>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include "caseless-str.h"
#include "gripes.h"
#include "oct-handle.h"
#include "oct-map.h"
#include "oct-mutex.h"
#include "oct-refcount.h"
#include "ov.h"
#include "txt-eng-ft.h"
Include dependency graph for graphics.in.h:

Go to the source code of this file.

Classes

class  any_property
 
class  array_property
 
class  gh_manager::auto_lock
 
class  axes
 
class  base_graphics_event
 
class  base_graphics_object
 
class  base_graphics_toolkit
 
class  base_properties
 
class  base_property
 
class  base_scaler
 
class  bool_property
 
class  callback_property
 
class  children_property
 
class  color_property
 
class  color_values
 
class  double_property
 
class  double_radio_property
 
class  figure
 
class  gh_manager
 
class  graphics_event
 
class  graphics_object
 
class  graphics_toolkit
 
class  graphics_xform
 
class  gtk_manager
 
class  handle_property
 
class  hggroup
 
class  image
 
class  lin_scaler
 
class  line
 
class  log_scaler
 
class  neg_log_scaler
 
class  patch
 
class  uitoggletool::properties
 
class  uipushtool::properties
 
class  uitoolbar::properties
 
class  uipanel::properties
 
class  uicontrol::properties
 
class  uicontextmenu::properties
 
class  uimenu::properties
 
class  hggroup::properties
 
class  surface::properties
 
class  patch::properties
 
class  image::properties
 
class  text::properties
 
class  line::properties
 
class  axes::properties
 
class  figure::properties
 
class  root_figure::properties
 
class  property
 
class  property_list
 
class  pval_vector
 
class  radio_property
 
class  radio_values
 
class  root_figure
 
class  row_vector_property
 
class  scaler
 
class  string_array_property
 
class  string_property
 
class  surface
 
class  text
 
class  text_label_property
 
class  uicontextmenu
 
class  uicontrol
 
class  uimenu
 
class  uipanel
 
class  uipushtool
 
class  uitoggletool
 
class  uitoolbar
 

Macros

#define OCTAVE_DEFAULT_FONTNAME   "*"
 

Typedefs

typedef octave_handle graphics_handle
 
typedef std::pair< std::string,
octave_value
pval_pair
 

Enumerations

enum  { AXE_ANY_DIR = 0, AXE_DEPTH_DIR = 1, AXE_HORZ_DIR = 2, AXE_VERT_DIR = 3 }
 
enum  listener_mode {
  POSTSET, PERSISTENT, PREDELETE, POSTSET,
  PERSISTENT, PREDELETE
}
 

Functions

OCTINTERP_API int calc_dimensions (const graphics_object &gh)
 
OCTINTERP_API void close_all_figures (void)
 
OCTINTERP_API graphics_handle gca (void)
 
OCTINTERP_API graphics_handle gcf (void)
 
void get_children_limits (double &min_val, double &max_val, double &min_pos, double &max_neg, const Matrix &kids, char limit_type)
 
octave_value get_property_from_handle (double handle, const std::string &property, const std::string &func)
 
bool set_property_in_handle (double handle, const std::string &property, const octave_value &arg, const std::string &func)
 

Macro Definition Documentation

#define OCTAVE_DEFAULT_FONTNAME   "*"

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

Typedef Documentation

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

typedef std::pair<std::string, octave_value> pval_pair

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

Enumeration Type Documentation

anonymous enum
Enumerator
AXE_ANY_DIR 
AXE_DEPTH_DIR 
AXE_HORZ_DIR 
AXE_VERT_DIR 

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

Enumerator
POSTSET 
PERSISTENT 
PREDELETE 
POSTSET 
PERSISTENT 
PREDELETE 

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

Function Documentation

OCTINTERP_API int calc_dimensions ( const graphics_object gh)
OCTINTERP_API void close_all_figures ( void  )

Definition at line 2611 of file graphics.cc.

References octave_value::double_value(), octave_value::is_empty(), octave_NaN, and xget().

Referenced by Fdrawnow(), and gca().

void get_children_limits ( double min_val,
double max_val,
double min_pos,
double max_neg,
const Matrix kids,
char  limit_type 
)
octave_value get_property_from_handle ( double  handle,
const std::string &  property,
const std::string &  func 
)

Definition at line 11647 of file graphics.cc.

References error(), graphics_object::get(), and gh_manager::get_object().

Referenced by mexGet().

bool set_property_in_handle ( double  handle,
const std::string &  property,
const octave_value arg,
const std::string &  func 
)

Definition at line 11664 of file graphics.cc.

References error(), error_state, gh_manager::get_object(), and graphics_object::set().

Referenced by mexSet().