GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "graphics.h"
Classes | |
class | properties |
Public Member Functions | |
text (const graphics_handle &mh, const graphics_handle &p) | |
text (const graphics_handle &mh, const graphics_handle &p) | |
~text (void) | |
~text (void) | |
virtual void | add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET) |
virtual void | add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET) |
virtual void | adopt (const graphics_handle &h) |
virtual void | adopt (const graphics_handle &h) |
void | build_user_defaults_map (property_list::pval_map_type &def, const std::string go_name) const |
void | build_user_defaults_map (property_list::pval_map_type &def, const std::string go_name) const |
virtual void | defaults (void) const |
virtual void | defaults (void) const |
virtual void | delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET) |
virtual void | delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=POSTSET) |
virtual octave_value | get (bool all=false) const |
virtual octave_value | get (const caseless_str &pname) const |
virtual octave_value | get (bool all=false) const |
virtual octave_value | get (const caseless_str &pname) const |
virtual octave_value | get_default (const caseless_str &) const |
virtual octave_value | get_default (const caseless_str &) const |
virtual octave_value | get_defaults (void) const |
virtual octave_value | get_defaults (void) const |
virtual property_list | get_defaults_list (void) const |
virtual property_list | get_defaults_list (void) const |
virtual octave_value | get_factory_default (const caseless_str &) const |
virtual octave_value | get_factory_default (const caseless_str &) const |
virtual octave_value | get_factory_defaults (void) const |
virtual octave_value | get_factory_defaults (void) const |
virtual property_list | get_factory_defaults_list (void) const |
virtual property_list | get_factory_defaults_list (void) const |
graphics_handle | get_handle (void) const |
graphics_handle | get_handle (void) const |
virtual graphics_handle | get_parent (void) const |
virtual graphics_handle | get_parent (void) const |
base_properties & | get_properties (void) |
const base_properties & | get_properties (void) const |
base_properties & | get_properties (void) |
const base_properties & | get_properties (void) const |
virtual graphics_toolkit | get_toolkit (void) const |
virtual graphics_toolkit | get_toolkit (void) const |
bool | has_readonly_property (const caseless_str &pname) const |
bool | has_readonly_property (const caseless_str &pname) const |
bool | isa (const std::string &go_name) const |
bool | isa (const std::string &go_name) const |
virtual void | mark_modified (void) |
virtual void | mark_modified (void) |
virtual void | override_defaults (base_graphics_object &obj) |
virtual void | override_defaults (base_graphics_object &obj) |
virtual void | remove_all_listeners (void) |
virtual void | remove_all_listeners (void) |
virtual void | remove_child (const graphics_handle &h) |
virtual void | remove_child (const graphics_handle &h) |
virtual void | reparent (const graphics_handle &np) |
virtual void | reparent (const graphics_handle &np) |
virtual void | reset_default_properties (void) |
virtual void | reset_default_properties (void) |
virtual void | set (const caseless_str &pname, const octave_value &pval) |
virtual void | set (const caseless_str &pname, const octave_value &pval) |
virtual void | set_defaults (const std::string &) |
virtual void | set_defaults (const std::string &) |
virtual void | set_from_list (property_list &plist) |
virtual void | set_from_list (property_list &plist) |
virtual std::string | type (void) const |
virtual std::string | type (void) const |
virtual void | update_axis_limits (const std::string &axis_type) |
virtual void | update_axis_limits (const std::string &axis_type, const graphics_handle &h) |
virtual void | update_axis_limits (const std::string &axis_type) |
virtual void | update_axis_limits (const std::string &axis_type, const graphics_handle &h) |
bool | valid_object (void) const |
bool | valid_object (void) const |
bool | valid_toolkit_object (void) const |
bool | valid_toolkit_object (void) const |
virtual std::string | value_as_string (const std::string &prop) |
virtual std::string | value_as_string (const std::string &prop) |
virtual std::string | values_as_string (void) |
virtual std::string | values_as_string (void) |
virtual octave_scalar_map | values_as_struct (void) |
virtual octave_scalar_map | values_as_struct (void) |
Protected Member Functions | |
virtual void | finalize (const graphics_object &go) |
virtual void | finalize (const graphics_object &go) |
virtual void | initialize (const graphics_object &go) |
virtual void | initialize (const graphics_object &go) |
virtual void | update (const graphics_object &go, int id) |
virtual void | update (const graphics_object &go, int id) |
Protected Attributes | |
octave_refcount< int > | count |
bool | toolkit_flag |
Private Attributes | |
properties | xproperties |
Definition at line 7743 of file graphics.h.
|
inline |
Definition at line 8464 of file graphics.h.
References base_properties::set_clipping().
Referenced by TerminalView::emitSelection(), and QWinTerminalImpl::pasteClipboard().
|
inline |
Definition at line 8470 of file graphics.h.
|
inline |
Definition at line 4620 of file graphics.in.h.
|
inline |
Definition at line 4626 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 2912 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3170 of file graphics.h.
References base_properties::add_listener(), graphics_object::get_properties(), and graphics_object::valid_object().
|
inlinevirtualinherited |
Definition at line 2840 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3098 of file graphics.h.
References base_properties::adopt(), error(), graphics_object::get_properties(), and graphics_object::valid_object().
Referenced by axes::properties::delete_text_child(), axes::properties::init(), reparent(), axes::properties::set_defaults(), base_properties::set_parent(), and axes::properties::set_text_child().
|
inherited |
|
inherited |
Definition at line 3237 of file graphics.cc.
References graphics_object::build_user_defaults_map(), property_list::end(), pval_vector::find(), property_list::find(), figure::get_defaults_list(), gh_manager::get_object(), and base_graphics_object::get_parent().
|
inlinevirtualinherited |
Definition at line 2856 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3114 of file graphics.h.
References error(), gripe_not_implemented(), and graphics_object::valid_object().
|
inlinevirtualinherited |
Definition at line 2920 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3178 of file graphics.h.
References base_properties::delete_listener(), graphics_object::get_properties(), and graphics_object::valid_object().
|
inlineprotectedvirtualinherited |
Definition at line 2939 of file graphics.in.h.
|
inlineprotectedvirtualinherited |
Definition at line 3197 of file graphics.h.
References graphics_toolkit::finalize(), and graphics_object::get_toolkit().
Referenced by base_graphics_toolkit::finalize().
|
inlinevirtualinherited |
Definition at line 2748 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2759 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3006 of file graphics.h.
References error(), base_properties::get(), graphics_object::get_properties(), octave_value(), and graphics_object::valid_object().
Referenced by base_properties::update_uicontextmenu().
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 3017 of file graphics.h.
References error(), base_properties::get(), graphics_object::get_properties(), octave_value(), and graphics_object::valid_object().
|
virtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
|
virtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 9192 of file graphics.cc.
References graphics_object::get_default(), gh_manager::get_object(), and base_graphics_object::get_parent().
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2774 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 3032 of file graphics.h.
References error(), and octave_value().
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2780 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 3038 of file graphics.h.
References error(), and graphics_object::valid_object().
|
virtualinherited |
Reimplemented in root_figure, and root_figure.
|
virtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 9201 of file graphics.cc.
References graphics_object::get_factory_default(), and gh_manager::get_object().
Referenced by graphics_object::set_value_or_default().
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 2787 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 3045 of file graphics.h.
References error(), and octave_value().
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 2793 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 3051 of file graphics.h.
References error().
|
inlineinherited |
Definition at line 2821 of file graphics.in.h.
|
inlineinherited |
Definition at line 3079 of file graphics.h.
References error(), base_properties::get___myhandle__(), graphics_object::get_properties(), and graphics_object::valid_object().
Referenced by base_graphics_object::reset_default_properties(), root_figure::reset_default_properties(), figure::reset_default_properties(), uitoolbar::reset_default_properties(), axes::update_axis_limits(), base_graphics_object::value_as_string(), base_graphics_object::values_as_string(), and base_graphics_object::values_as_struct().
|
inlinevirtualinherited |
Definition at line 2810 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3068 of file graphics.h.
References error(), base_properties::get_parent(), graphics_object::get_properties(), and graphics_object::valid_object().
Referenced by base_graphics_object::build_user_defaults_map(), axes::properties::calc_tightbox(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), base_graphics_object::get_default(), figure::get_default(), axes::get_default(), uitoolbar::get_default(), uicontrol::properties::get_extent(), base_properties::get_toolkit(), base_properties::mark_modified(), base_properties::override_defaults(), figure::properties::set_integerhandle(), base_properties::set_parent(), base_properties::update_autopos(), base_graphics_object::update_axis_limits(), axes::properties::update_units(), uicontrol::properties::update_units(), and uipanel::properties::update_units().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4628 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4630 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 8472 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 8474 of file graphics.h.
|
inlinevirtualinherited |
Definition at line 2901 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3159 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::get_toolkit(), and graphics_object::valid_object().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4634 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 8478 of file graphics.h.
References base_properties::has_readonly_property(), and text::properties::has_readonly_property().
Referenced by text::properties::set().
|
inlineprotectedvirtualinherited |
Reimplemented in axes, and axes.
Definition at line 2933 of file graphics.in.h.
|
inlineprotectedvirtualinherited |
Reimplemented in axes, and axes.
Definition at line 3191 of file graphics.h.
References graphics_object::get_toolkit(), and graphics_toolkit::initialize().
Referenced by base_graphics_toolkit::initialize(), and axes::initialize().
|
inlineinherited |
Definition at line 2896 of file graphics.in.h.
|
inlineinherited |
Definition at line 3154 of file graphics.h.
Referenced by graphics_object::get_ancestor().
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 2708 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in root_figure, and root_figure.
Definition at line 2966 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::mark_modified(), and graphics_object::valid_object().
Referenced by figure::properties::set___mouse_mode__(), base_properties::set_dynamic(), axes::properties::set_fontunits(), text::properties::set_fontunits(), uicontrol::properties::set_fontunits(), uipanel::properties::set_fontunits(), figure::properties::set_integerhandle(), figure::properties::set_outerposition(), figure::properties::set_papertype(), figure::properties::set_paperunits(), figure::properties::set_position(), figure::properties::set_units(), axes::properties::set_units(), uipanel::properties::set_units(), axes::properties::set_xticklabel(), axes::properties::set_yticklabel(), and axes::properties::set_zticklabel().
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2716 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2974 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::override_defaults(), and graphics_object::valid_object().
|
virtualinherited |
|
virtualinherited |
Definition at line 3208 of file graphics.cc.
References octave_map::begin(), property::delete_listener(), discard_error_messages, octave_map::end(), error_state, figure::get_properties(), base_properties::get_property(), action_container::protect_var(), Vdebug_on_error, and Vdebug_on_warning.
|
inlinevirtualinherited |
Definition at line 2832 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3090 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::remove_child(), and graphics_object::valid_object().
|
inlinevirtualinherited |
Definition at line 2848 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3106 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::reparent(), and graphics_object::valid_object().
Referenced by axes::properties::set_text_child().
|
virtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
|
virtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 3263 of file graphics.cc.
References property_list::find(), graphics_object::get_factory_defaults_list(), base_graphics_object::get_handle(), gh_manager::get_object(), figure::valid_object(), and xreset_default_properties().
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2735 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in uitoolbar, axes, uitoolbar, figure, axes, root_figure, figure, and root_figure.
Definition at line 2993 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::set(), and graphics_object::valid_object().
Referenced by base_properties::set_from_list().
|
inlinevirtualinherited |
Reimplemented in axes, and axes.
Definition at line 2743 of file graphics.in.h.
|
inlinevirtualinherited |
Reimplemented in axes, and axes.
Definition at line 3001 of file graphics.h.
References error().
Referenced by axes::reset_default_properties().
|
inlinevirtualinherited |
Definition at line 2727 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 2985 of file graphics.h.
References error(), graphics_object::get_properties(), base_properties::set_from_list(), and graphics_object::valid_object().
Referenced by root_figure::override_defaults(), figure::override_defaults(), axes::override_defaults(), and uitoolbar::override_defaults().
|
inlinevirtualinherited |
Definition at line 2890 of file graphics.in.h.
|
inlinevirtualinherited |
Definition at line 3148 of file graphics.h.
References graphics_object::get_properties(), and graphics_object::valid_object().
|
inlineprotectedvirtualinherited |
Definition at line 2948 of file graphics.in.h.
|
inlineprotectedvirtualinherited |
Definition at line 3206 of file graphics.h.
References graphics_object::get_toolkit(), and graphics_toolkit::update().
Referenced by base_graphics_toolkit::update().
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
Reimplemented in hggroup, axes, hggroup, and axes.
Definition at line 3179 of file graphics.cc.
References error(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::update_axis_limits(), and figure::valid_object().
Referenced by hggroup::update_axis_limits().
|
virtualinherited |
Reimplemented in hggroup, axes, hggroup, and axes.
Definition at line 3193 of file graphics.cc.
References error(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::update_axis_limits(), and figure::valid_object().
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 4632 of file graphics.in.h.
|
inlinevirtual |
Reimplemented from base_graphics_object.
Definition at line 8476 of file graphics.h.
|
inlineinherited |
Definition at line 2888 of file graphics.in.h.
|
inlineinherited |
Definition at line 3146 of file graphics.h.
|
virtualinherited |
|
virtualinherited |
Definition at line 3311 of file graphics.cc.
References error(), base_graphics_object::get_handle(), gh_manager::get_object(), figure::get_properties(), base_properties::get_property(), graphics_object::has_readonly_property(), figure::valid_object(), and property::values_as_string().
|
virtualinherited |
|
virtualinherited |
Definition at line 3276 of file graphics.cc.
References octave_map::begin(), octave_map::end(), error(), base_graphics_object::get_handle(), gh_manager::get_object(), figure::get_properties(), base_properties::get_property(), graphics_object::has_readonly_property(), figure::valid_object(), and property::values_as_string().
|
virtualinherited |
|
virtualinherited |
Definition at line 3340 of file graphics.cc.
References octave_scalar_map::assign(), octave_scalar_map::begin(), octave_scalar_map::end(), error(), base_graphics_object::get_handle(), gh_manager::get_object(), figure::get_properties(), base_properties::get_property(), graphics_object::has_readonly_property(), and figure::valid_object().
|
protectedinherited |
Definition at line 3214 of file graphics.h.
Referenced by graphics_object::operator=().
|
protectedinherited |
Definition at line 3218 of file graphics.h.
|
private |
Definition at line 8461 of file graphics.h.