#include "octave-config.h"
#include <cctype>
#include <cmath>
#include <algorithm>
#include <list>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include "caseless-str.h"
#include "errwarn.h"
#include "graphics-handle.h"
#include "graphics-toolkit.h"
#include "oct-map.h"
#include "oct-mutex.h"
#include "oct-refcount.h"
#include "ov.h"
#include "text-renderer.h"
Go to the source code of this file.
Macros | |
#define | OCTAVE_DEFAULT_FONTNAME "*" |
Typedefs | |
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 | finite_type { NO_CHECK , FINITE , NOT_NAN , NOT_INF } |
enum | listener_mode { GCB_POSTSET , GCB_PERSISTENT , GCB_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) |
#define OCTAVE_DEFAULT_FONTNAME "*" |
Definition at line 58 of file graphics.in.h.
typedef std::pair<std::string, octave_value> pval_pair |
Definition at line 2074 of file graphics.in.h.
anonymous enum |
Enumerator | |
---|---|
AXE_ANY_DIR | |
AXE_DEPTH_DIR | |
AXE_HORZ_DIR | |
AXE_VERT_DIR |
Definition at line 3422 of file graphics.in.h.
enum finite_type |
Enumerator | |
---|---|
NO_CHECK | |
FINITE | |
NOT_NAN | |
NOT_INF |
Definition at line 1168 of file graphics.in.h.
enum listener_mode |
Enumerator | |
---|---|
GCB_POSTSET | |
GCB_PERSISTENT | |
GCB_PREDELETE |
Definition at line 278 of file graphics.in.h.
OCTINTERP_API int calc_dimensions | ( | const graphics_object & | gh | ) |
Definition at line 13225 of file graphics.cc.
References octave::__get_gh_manager__(), graphics_object::get(), base_properties::get_children(), gh_manager::get_object(), graphics_object::get_properties(), graphics_object::isa(), octave_value::isempty(), gh_manager::lookup(), Array< T >::numel(), octave_handle::ok(), and graphics_object::valid_object().
Referenced by F__calc_dimensions__().
OCTINTERP_API void close_all_figures | ( | void | ) |
OCTINTERP_API graphics_handle gca | ( | void | ) |
Definition at line 3012 of file graphics.cc.
References octave_value::double_value(), gcf(), octave_value::isempty(), NaN, and xget().
OCTINTERP_API graphics_handle gcf | ( | void | ) |
Definition at line 3002 of file graphics.cc.
References octave_value::double_value(), octave_value::isempty(), 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 | ||
) |
Definition at line 8352 of file graphics.cc.
References octave::__get_gh_manager__(), check_limit_vals(), graphics_object::get_alim(), graphics_object::get_clim(), gh_manager::get_object(), graphics_object::get_xlim(), graphics_object::get_ylim(), graphics_object::get_zlim(), graphics_object::is_aliminclude(), graphics_object::is_climinclude(), graphics_object::is_xliminclude(), graphics_object::is_yliminclude(), graphics_object::is_zliminclude(), n, and Array< T >::numel().
Referenced by max_axes_scale(), axes::properties::translate_view(), axes::update_axis_limits(), hggroup::update_axis_limits(), and axes::properties::zoom_about_point().
octave_value get_property_from_handle | ( | double | handle, |
const std::string & | property, | ||
const std::string & | func | ||
) |
Definition at line 14056 of file graphics.cc.
References octave::__get_gh_manager__(), error(), graphics_object::get(), gh_manager::get_object(), and gh_manager::graphics_lock().
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 14072 of file graphics.cc.
References octave::__get_gh_manager__(), error(), gh_manager::get_object(), gh_manager::graphics_lock(), and graphics_object::set().
Referenced by mexSet().