#include <cctype>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <set>
#include <string>
#include <sstream>
#include "cmd-edit.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-locbuf.h"
#include "oct-time.h"
#include "singleton-cleanup.h"
#include "builtin-defun-decls.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "graphics.h"
#include "input.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "ov.h"
#include "ovl.h"
#include "oct-map.h"
#include "ov-fcn-handle.h"
#include "pager.h"
#include "parse.h"
#include "text-renderer.h"
#include "unwind-prot.h"
#include "utils.h"
#include "octave-default-image.h"
#include "graphics-props.cc"
Go to the source code of this file.
Classes | |
class | callback_event |
class | callback_props |
class | function_event |
class | set_event |
Macros | |
#define | CHECK_ARRAY_EQUAL(T, F, A) |
#define | CONVERT_CDATA_1(ARRAY_T, VAL_FN, IS_REAL) |
#define | FIX_LIMITS |
#define | GO_BODY(TYPE) |
Typedefs | |
using | args.length = =0) print_usage() |
Referenced by array_property::is_equal().
#define CONVERT_CDATA_1 | ( | ARRAY_T, | |
VAL_FN, | |||
IS_REAL | |||
) |
Referenced by convert_cdata().
#define FIX_LIMITS |
Referenced by axes::update_axis_limits().
#define GO_BODY | ( | TYPE | ) |
using args.length = = 0) print_usage () |
Definition at line 12180 of file graphics.cc.
endfunction addlistener | ( | gcf | , |
"position" | , | ||
@ | my_listener, | ||
"my string" | |||
) |
Definition at line 11799 of file graphics.cc.
References octave_value_list::length(), and print_usage().
addproperty | ( | "my_style" | , |
gcf | , | ||
"linelinestyle" | , | ||
"--" | |||
) |
|
static |
Definition at line 2909 of file graphics.cc.
References graphics_object::adopt(), gh_manager::get_object(), and h.
|
inline |
Definition at line 5528 of file graphics.cc.
References Array< T >::fortran_vec(), and retval.
Referenced by axes::properties::update_camera().
|
static |
Definition at line 7004 of file graphics.cc.
References octave_value::is_matrix_type(), octave::math::isfinite(), octave_value::matrix_value(), Array< T >::numel(), and val.
Referenced by get_children_limits().
|
static |
|
static |
Definition at line 12086 of file graphics.cc.
References do_cleanup_waitfor_listener(), and POSTSET.
Referenced by if().
|
static |
Definition at line 12090 of file graphics.cc.
References do_cleanup_waitfor_listener(), and PREDELETE.
Referenced by if().
|
static |
Definition at line 2845 of file graphics.cc.
References gh_manager::execute_callback(), h, and xget().
Referenced by gh_manager::do_close_all_figures().
|
static |
Definition at line 915 of file graphics.cc.
References a, CONVERT_CDATA_1, Array< T >::data(), octave_value::dims(), dv, graphics_object::get_ancestor(), gh_manager::get_object(), octave_value::is_double_type(), octave_value::is_single_type(), octave_value::is_uint16_type(), octave_value::is_uint8_type(), octave_value::islogical(), dim_vector::ndims(), octave_value(), dim_vector::resize(), Array< T >::rows(), octave_value::type_name(), and warning().
Referenced by image::properties::get_color_data(), patch::properties::get_color_data(), and surface::properties::get_color_data().
void convert_cdata_1 | ( | bool | is_scaled, |
bool | is_real, | ||
double | clim_0, | ||
double | clim_1, | ||
const double * | cmapv, | ||
const T * | cv, | ||
octave_idx_type | lda, | ||
octave_idx_type | nc, | ||
double * | av | ||
) |
Definition at line 905 of file graphics.cc.
References convert_cdata_2(), and i.
|
static |
Definition at line 873 of file graphics.cc.
References octave::math::fix(), i, octave::math::isnan(), and x.
Referenced by convert_cdata_1().
|
static |
Definition at line 569 of file graphics.cc.
References caseless_str::compare(), octave_value::double_value(), and xget().
Referenced by axes::properties::get___fontsize_points__(), text::properties::get___fontsize_points__(), uicontrol::properties::get___fontsize_points__(), uibuttongroup::properties::get___fontsize_points__(), uipanel::properties::get___fontsize_points__(), axes::properties::update_fontunits(), text::properties::update_fontunits(), uicontrol::properties::update_fontunits(), and uibuttongroup::properties::update_fontunits().
|
static |
Definition at line 5974 of file graphics.cc.
References convert_position(), Matrix::extract_n(), p, octave_value::resize(), retval, string, and xform().
Referenced by axes::properties::update_title_position(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), and axes::properties::update_zlabel_position().
|
static |
Definition at line 6806 of file graphics.cc.
References string_vector::append(), octave_value(), retval, string, and val.
|
static |
Definition at line 627 of file graphics.cc.
References caseless_str::compare(), octave_value::double_value(), f, Array< T >::numel(), retval, and xget().
Referenced by axes::properties::calc_tightbox(), convert_label_position(), convert_text_position(), figure::properties::get_boundingbox(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uibuttongroup::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), figure::properties::map_from_boundingbox(), figure::properties::map_to_boundingbox(), screen_size_pixels(), figure::properties::set_boundingbox(), figure::properties::update_units(), axes::properties::update_units(), uicontrol::properties::update_units(), and uibuttongroup::properties::update_units().
|
static |
Definition at line 772 of file graphics.cc.
References caseless_str::compare(), convert_position(), Matrix::extract_n(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), gh_manager::get_object(), axes::properties::get_transform(), Array< T >::numel(), octave_value::resize(), retval, graphics_xform::transform(), graphics_xform::untransform(), and v2.
Referenced by text::properties::update_units().
|
static |
Definition at line 6708 of file graphics.cc.
References string_vector::append(), i, octave_value(), retval, string, and val.
|
inline |
Definition at line 5495 of file graphics.cc.
References v2, and xform_vector().
Referenced by axes::properties::update_camera().
|
inline |
Definition at line 9069 of file graphics.cc.
|
static |
Definition at line 424 of file graphics.cc.
|
static |
Definition at line 411 of file graphics.cc.
|
static |
Definition at line 448 of file graphics.cc.
|
static |
Definition at line 463 of file graphics.cc.
Referenced by axes::properties::set_defaults().
|
static |
Definition at line 437 of file graphics.cc.
|
static |
Definition at line 245 of file graphics.cc.
References retval.
Referenced by axes::properties::set_defaults().
|
static |
Definition at line 520 of file graphics.cc.
References retval.
|
static |
Definition at line 533 of file graphics.cc.
References retval.
|
static |
Definition at line 299 of file graphics.cc.
References retval.
|
static |
Definition at line 498 of file graphics.cc.
|
static |
Definition at line 487 of file graphics.cc.
|
static |
Definition at line 474 of file graphics.cc.
Referenced by axes::properties::get_boundingbox(), and uicontrol::properties::get_boundingbox().
|
static |
Definition at line 511 of file graphics.cc.
References octave::__get_gtk_manager__(), and octave::gtk_manager::default_toolkit().
|
static |
Definition at line 310 of file graphics.cc.
References default_im_data, i, and row.
|
static |
Definition at line 557 of file graphics.cc.
Definition at line 280 of file graphics.cc.
Referenced by axes::properties::check_axis_limits(), and axes::properties::get_axis_limits().
|
static |
Definition at line 544 of file graphics.cc.
References retval.
|
static |
Definition at line 367 of file graphics.cc.
|
static |
Definition at line 379 of file graphics.cc.
|
static |
Definition at line 391 of file graphics.cc.
|
static |
Definition at line 401 of file graphics.cc.
|
static |
Definition at line 220 of file graphics.cc.
References octave::display_info::depth().
|
static |
Definition at line 239 of file graphics.cc.
References octave::display_info::x_dpi(), and octave::display_info::y_dpi().
|
static |
Definition at line 226 of file graphics.cc.
References octave::display_info::height(), retval, and octave::display_info::width().
|
static |
Definition at line 361 of file graphics.cc.
References default_surface_zdata().
|
static |
Definition at line 326 of file graphics.cc.
References row.
|
static |
Definition at line 338 of file graphics.cc.
References row.
|
static |
|
static |
Definition at line 2795 of file graphics.cc.
References gh_manager::free(), gh_manager::get_object(), graphics_object::get_parent(), graphics_object::get_properties(), h, graphics_object::remove_child(), graphics_object::valid_object(), and Vdrawnow_requested.
Referenced by delete_graphics_object(), delete_graphics_objects(), and force_close_figure().
|
static |
Definition at line 2824 of file graphics.cc.
References delete_graphics_object(), gh_manager::lookup(), and val.
|
static |
Definition at line 2833 of file graphics.cc.
References delete_executing, delete_graphics_object(), Array< T >::elem(), frame, i, Array< T >::numel(), and octave::action_container::protect_var().
|
static |
Definition at line 12054 of file graphics.cc.
References c, octave_value::cell_value(), base_properties::delete_listener(), gh_manager::get_object(), graphics_object::get_properties(), gh, h, base_properties::has_property(), gh_manager::lookup(), mode, octave_handle::ok(), PERSISTENT, pname, and POSTSET.
Referenced by cleanup_waitfor_postset_listener(), and cleanup_waitfor_predelete_listener().
Definition at line 8365 of file graphics.cc.
Referenced by axes::properties::translate_view().
Definition at line 8220 of file graphics.cc.
References pow(), tmp, and val.
Referenced by axes::properties::zoom_about_point().
|
inline |
Definition at line 5483 of file graphics.cc.
References v2.
Referenced by norm(), and axes::properties::update_camera().
|
static |
Definition at line 72 of file graphics.cc.
OCTAVE_EXPORT octave_value_list F__get_frame__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 12438 of file graphics.cc.
References error(), gh_manager::get_object(), graphics_toolkit::get_pixels(), graphics_object::get_toolkit(), h, graphics_object::isa(), octave_value_list::length(), ovl(), print_usage(), and gh_manager::process_events().
OCTAVE_EXPORT octave_value_list F__is_handle_visible__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 10592 of file graphics.cc.
References is_handle_visible(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__zoom__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 12383 of file graphics.cc.
References axes::properties::clear_zoom_stack(), error(), gh_manager::get_object(), graphics_object::get_properties(), h, handle, octave_value_list::length(), gh_manager::lookup(), mode, ovl(), print_usage(), string, Vdrawnow_requested, and axes::properties::zoom().
OCTAVE_EXPORT octave_value_list Fget | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 10929 of file graphics.cc.
References octave_map::cat(), error(), graphics_object::get(), get_graphics_object_type(), gh_manager::get_object(), hcv, iscellstr, Array< T >::numel(), OCTAVE_LOCAL_BUFFER, ovl(), print_usage(), Array< T >::resize(), retval, string, and tmp.
|
static |
Definition at line 1955 of file graphics.cc.
References graphics_object::finalize(), base_properties::get_all_children(), gh_manager::get_object(), graphics_object::get_properties(), h, k, and Array< T >::numel().
Referenced by figure::properties::set_toolkit().
OCTAVE_EXPORT octave_value_list Fishghandle | ( | const octave_value_list & | args, |
int | |||
) |
for | ( | ) |
Definition at line 10831 of file graphics.cc.
Referenced by octave::symbol_table::parent_classes(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve().
|
static |
Definition at line 2853 of file graphics.cc.
References delete_graphics_object(), h, and xset().
Referenced by gh_manager::do_close_all_figures().
Definition at line 8209 of file graphics.cc.
References x.
OCTAVE_EXPORT octave_value_list Freset | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 10613 of file graphics.cc.
References gh_manager::get_object(), hcv, Array< T >::numel(), ovl(), print_usage(), and Vdrawnow_requested.
OCTAVE_EXPORT octave_value_list Fwaitfor | ( | const octave_value_list & | args, |
int | |||
) |
graphics_handle gca | ( | void | ) |
graphics_handle gcf | ( | void | ) |
|
static |
Definition at line 1002 of file graphics.cc.
References Array< T >::data(), e, i, octave::math::isinf(), and Array< T >::numel().
Referenced by array_property::get_data_limits().
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 7695 of file graphics.cc.
References 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(), i, graphics_object::is_aliminclude(), graphics_object::is_climinclude(), graphics_object::is_xliminclude(), graphics_object::is_yliminclude(), graphics_object::is_zliminclude(), and Array< T >::numel().
Referenced by axes::properties::check_axis_limits(), max_axes_scale(), axes::properties::translate_view(), axes::update_axis_limits(), hggroup::update_axis_limits(), and axes::properties::zoom_about_point().
|
static |
Definition at line 10905 of file graphics.cc.
References error(), gh_manager::get_object(), retval, string, graphics_object::type(), and val.
Referenced by Fget().
OCTAVE_EXPORT octave_value_list ishandle nd deftypefn* if | ( | args.length() ! | = 1 | ) |
if | ( | nargin | = =0 | ) |
Definition at line 598 of file file-io.cc.
if | ( | request_drawnow | ) |
if | ( | ! gh. | ok() | ) |
Definition at line 11814 of file graphics.cc.
if | ( | args(0).isempty() | ) |
if | ( | args. | length(), |
1 | |||
) |
Definition at line 12200 of file graphics.cc.
References octave::action_container::add_fcn(), graphics_object::add_property_listener(), cleanup_waitfor_id(), cleanup_waitfor_postset_listener(), cleanup_waitfor_predelete_listener(), error(), frame, graphics_object::get(), gh_manager::get_object(), graphics_object::get_properties(), gh, h, base_properties::has_dynamic_property(), id, id_counter, octave_value::is_defined(), octave_value_list::length(), gh_manager::lookup(), max_arg_index, octave_handle::ok(), PERSISTENT, pname, POSTSET, PREDELETE, s, timeout_index, waitfor_del_listener(), waitfor_listener(), and waitfor_results.
if | ( | timeout_index< 0 &&args. | length) >(max_arg_index+1 | ) |
Definition at line 12298 of file graphics.cc.
References error(), max_arg_index, s, and timeout_index.
if | ( | timeout_index >= | 0 | ) |
Definition at line 12308 of file graphics.cc.
References error(), octave_value_list::length(), timeout, timeout_index, and warning().
if | ( | timeout | , |
0 | |||
) |
|
static |
Definition at line 1971 of file graphics.cc.
References base_properties::get_all_children(), gh_manager::get_object(), graphics_object::get_properties(), h, graphics_object::initialize(), k, and Array< T >::numel().
Referenced by figure::properties::set_toolkit().
Definition at line 2952 of file graphics.cc.
References gh_manager::get_object(), graphics_object::isa(), and val.
|
static |
Definition at line 10555 of file graphics.cc.
References h, and gh_manager::is_handle_visible().
Referenced by F__is_handle_visible__(), is_handle_visible(), and axes::properties::update_handlevisibility().
Definition at line 10561 of file graphics.cc.
References is_handle_visible(), gh_manager::lookup(), and val.
|
static |
Definition at line 10567 of file graphics.cc.
References Array< T >::dims(), i, is_handle_visible(), Array< T >::numel(), result, retval, and val.
|
static |
Definition at line 2922 of file graphics.cc.
References h, gh_manager::lookup(), and val.
|
static |
Definition at line 2930 of file graphics.cc.
References Array< T >::dims(), i, is_hghandle(), Array< T >::numel(), result, retval, and val.
|
static |
Definition at line 1031 of file graphics.cc.
References caseless_str::compare(), name, and result.
Referenced by property::create().
Definition at line 7039 of file graphics.cc.
References a, abs(), b, octave::math::floor(), pow(), and x.
Referenced by axes::properties::calc_tick_sep().
|
static |
Definition at line 1110 of file graphics.cc.
Referenced by property::create(), and gh_manager::do_make_graphics_handle().
|
static |
Definition at line 2595 of file graphics.cc.
Referenced by gh_manager::do_free(), gh_manager::do_get_handle(), and gh_manager::do_renumber_figure().
|
static |
Definition at line 6418 of file graphics.cc.
References get_children_limits(), Inf, octave::math::isfinite(), octave::math::max(), and s.
Referenced by axes::properties::update_aspectratios().
|
inline |
Definition at line 5489 of file graphics.cc.
References dot().
Referenced by filter(), Matrix::ltsolve(), FloatMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), matrix_complex_probe(), MatrixType::MatrixType(), Matrix::rcond(), FloatMatrix::rcond(), ComplexMatrix::rcond(), FloatComplexMatrix::rcond(), axes::properties::update_camera(), Matrix::utsolve(), FloatMatrix::utsolve(), ComplexMatrix::utsolve(), and FloatComplexMatrix::utsolve().
|
inline |
Definition at line 5476 of file graphics.cc.
References scale().
Referenced by axes::properties::update_camera().
|
static |
Definition at line 6403 of file graphics.cc.
References octave::math::min().
Referenced by axes::properties::update_aspectratios().
return ovl | ( | is_hghandle(args(0)) | ) |
return ovl | ( | ) |
|
static |
Definition at line 4077 of file graphics.cc.
References caseless_str::compare(), and retval.
Referenced by figure::properties::update_paperunits().
|
static |
Definition at line 2743 of file graphics.cc.
References base_graphics_object::adopt(), error(), gh_manager::get_object(), graphics_object::get_parent(), h, gh_manager::lookup(), NaN(), pname, graphics_object::remove_child(), graphics_object::reparent(), graphics_object::set(), octave_handle::value(), and octave_value::xdouble_value().
Definition at line 5442 of file graphics.cc.
References x, xform_scale(), and y.
Referenced by aepbalance< T >::aepbalance(), aepbalance< T >::balancing_matrix(), G__glpk__(), glpk(), octave::fftw::ifft(), octave::fftw::ifftNd(), hess< T >::init(), EIG::init(), FloatEIG::init(), lin_interpn(), make_complex_matrix_format(), make_range_format(), make_real_matrix_format(), normalize(), pr_float(), pr_scale_header(), octave::math::sparse_lu< lu_type >::sparse_lu(), Sylvester(), and axes::properties::update_camera().
|
inline |
Definition at line 5460 of file graphics.cc.
|
static |
Definition at line 864 of file graphics.cc.
References convert_position(), graphics_object::get(), gh_manager::get_object(), octave_value::matrix_value(), octave_value::string_value(), and sz.
Referenced by root_figure::properties::get_boundingbox(), figure::properties::get_boundingbox(), figure::properties::set_boundingbox(), and figure::properties::update_units().
set | ( | hf | , |
"paperorientation" | |||
) |
Definition at line 10814 of file graphics.cc.
|
static |
Definition at line 2986 of file graphics.cc.
References disable_warning(), on, set_warning_state(), state, and warning_enabled().
Referenced by base_graphics_object::remove_all_listeners(), axes::reset_default_properties(), and xreset_default_properties().
|
inline |
Definition at line 5410 of file graphics.cc.
References x, xform_vector(), and y.
Referenced by octave::stream_list::clear(), Fcolloc(), Fnproc(), for(), G__eigs__(), Gfftw(), octave::crypto::hash(), property_list::lookup(), octregexp(), parse_options(), octave::textscan::parse_options(), property_list::set(), color_values::str2rgb(), graphics_xform::transform(), and graphics_xform::untransform().
Definition at line 5448 of file graphics.cc.
References x, xform_translate(), and y.
Referenced by axes::properties::update_camera().
|
inline |
Definition at line 5468 of file graphics.cc.
|
inline |
Definition at line 5507 of file graphics.cc.
References Array< T >::fortran_vec().
Referenced by axes::properties::update_camera().
|
static |
Definition at line 82 of file graphics.cc.
References error(), string_vector::list_in_columns(), os, pname, string, and warning_with_id().
|
static |
Definition at line 136 of file graphics.cc.
References Array< T >::fortran_vec().
|
static |
Definition at line 12125 of file graphics.cc.
References id, octave_value_list::length(), ovl(), and waitfor_results.
Referenced by if().
|
static |
Definition at line 12093 of file graphics.cc.
References graphics_object::get(), gh_manager::get_object(), gh, h, id, octave_value_list::length(), gh_manager::lookup(), octave_handle::ok(), ovl(), pname, and waitfor_results.
Referenced by if().
while | ( | true | ) |
Definition at line 12342 of file graphics.cc.
References gh, h, id, gh_manager::lookup(), now, octave_sleep(), octave_handle::ok(), pname, octave::command_editor::run_event_hooks(), start, timeout, and waitfor_results.
|
static |
Definition at line 2960 of file graphics.cc.
References gh_manager::get_object(), graphics_object::get_properties(), and h.
|
inline |
Definition at line 5454 of file graphics.cc.
Referenced by convert_label_position(), axes::properties::get_extent(), octave::opengl_renderer::get_transform(), graphics_xform::transform(), axes::properties::update_axes_layout(), axes::properties::update_camera(), axes::properties::update_title_position(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), and axes::properties::update_zlabel_position().
|
inline |
Definition at line 5538 of file graphics.cc.
References ColumnVector::extract_n(), and ColumnVector::transpose().
Referenced by axes::properties::update_camera().
|
inline |
Definition at line 5377 of file graphics.cc.
References i.
Referenced by axes::properties::update_camera(), graphics_xform::xform_eye(), and xform_translate().
Definition at line 5429 of file graphics.cc.
References x, xform_matrix(), and y.
Referenced by translate().
|
inline |
Definition at line 5388 of file graphics.cc.
Referenced by cross(), transform(), axes::properties::update_camera(), and graphics_xform::xform_vector().
|
inline |
Definition at line 5398 of file graphics.cc.
|
static |
Definition at line 2736 of file graphics.cc.
References graphics_object::get(), gh_manager::get_object(), h, and pname.
Referenced by close_figure(), convert_font_size(), convert_position(), gca(), gcf(), uibuttongroup::properties::get_boundingbox(), and uipanel::properties::get_boundingbox().
|
static |
Definition at line 2967 of file graphics.cc.
References gh_manager::get_object(), h, and graphics_object::initialize().
Referenced by axes::initialize().
|
static |
Definition at line 3004 of file graphics.cc.
References graphics_object::build_user_defaults_map(), gh_manager::get_object(), graphics_object::get_properties(), base_properties::graphics_object_name(), h, graphics_object::has_readonly_property(), p, pname, graphics_object::set(), state, string, and toggle_warn().
Referenced by base_graphics_object::reset_default_properties(), root_figure::reset_default_properties(), figure::reset_default_properties(), and uitoolbar::reset_default_properties().
|
static |
Definition at line 2718 of file graphics.cc.
References gh_manager::get_object(), h, pname, graphics_object::set(), and val.
Referenced by axes::properties::delete_text_child(), force_close_figure(), root_figure::properties::remove_child(), axes::properties::set_defaults(), axes::properties::set_text_child(), and figure::properties::set_visible().
|
static |
Definition at line 2726 of file graphics.cc.
References gh_manager::get_object(), h, octave_value_list::length(), and graphics_object::set().
|
static |
Definition at line 10197 of file graphics.cc.
References gh_manager::get_object(), graphics_object::get_properties(), and h.
Referenced by gh_manager::do_execute_callback(), and gh_manager::do_restore_gcbo().
paperorientation __pad0__ |
Definition at line 10816 of file graphics.cc.
OCTAVE_EXPORT octave_value_list while another program execution is suspended until the graphics object the function returns immediately In the second execution is suspended until the graphics object is destroyed or the property named the function returns immediately In the third execution is suspended until the graphics object is destroyed or the property named the property does not exist or the property is already set to ar {h} is a vector |
Definition at line 10929 of file graphics.cc.
and the properties code {"units"} |
Definition at line 10613 of file graphics.cc.
Definition at line 2830 of file graphics.cc.
Referenced by delete_graphics_objects().
|
static |
Definition at line 1827 of file graphics.cc.
Referenced by property::create().
Definition at line 10929 of file graphics.cc.
|
static |
Definition at line 1804 of file graphics.cc.
Referenced by callback_property::execute(), and base_properties::is_handle_visible().
OCTAVE_EXPORT octave_value_list while another program execution is suspended until the graphics object the function returns immediately In the second execution is suspended until the graphics object is destroyed or the property named the function returns immediately In the third form |
Definition at line 12177 of file graphics.cc.
Referenced by qrp< T >::init(), and qr< T >::init().
octave::unwind_protect frame |
Definition at line 12190 of file graphics.cc.
Referenced by QtHandles::ButtonGroup::ButtonGroup(), octave_mex_function::call(), octave_builtin::call(), octave_user_script::call(), octave_user_function::call(), call_mex(), QtHandles::ButtonGroup::create(), delete_graphics_objects(), do_edit_history(), gh_manager::do_execute_callback(), do_history(), do_rand(), do_run_history(), octave::tree_evaluator::do_unwind_protect_cleanup_code(), do_who(), QtHandles::Panel::eventFilter(), QtHandles::ButtonGroup::eventFilter(), callback_property::execute(), execute_pkg_add_or_del(), F__ftp_mget__(), F__magick_read__(), Fdaspk(), Fdasrt(), Fdassl(), Flsode(), octave::flush_stdout(), Fquad(), octave::curl_transfer::ftp_file_or_dir_action(), G__delaunayn__(), G__eigs__(), G__voronoi__(), Gaudioread(), Gconvhulln(), generate_struct_completions(), get_data_and_bytesize(), octave::gl2ps_print(), octave::sys::glob(), octave::file_editor_tab::handle_context_menu_break_condition(), if(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), octave::dynamic_loader::load_mex(), octave::dynamic_loader::load_oct(), looks_like_struct(), make_stack_frame_list(), octave::tree_evaluator::make_value_list(), maybe_enter_debugger(), octave::tree_evaluator::maybe_push_echo_state_cleanup(), octave::tree::meets_bp_condition(), mexGetVariable(), mexPutVariable(), octave::base_url_transfer::mget_directory(), octave::base_url_transfer::mput_directory(), QtHandles::Panel::Panel(), pr_where(), octave_struct::print_raw(), octave_class::print_raw(), octave_scalar_struct::print_raw(), octave::tree_evaluator::push_echo_state(), octave::tree_evaluator::push_echo_state_cleanup(), octave::curl_transfer::pwd(), read_images(), read_indexed_images(), read_mat5_binary_element(), octave_class::reconstruct_exemplar(), QtHandles::Figure::redraw(), base_graphics_object::remove_all_listeners(), octave::curl_transfer::rename(), octave::jit_convert::resolve(), run_command_and_return_output(), save_mat_binary_data(), octave::load_path::set(), sparse(), octave_class::subsasgn_common(), QtHandles::Panel::update(), QtHandles::ButtonGroup::update(), axes::properties::update_aspectratios(), axes::properties::update_axes_layout(), axes::update_axis_limits(), hggroup::update_axis_limits(), axes::properties::update_title_position(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), QtHandles::Panel::updateLayout(), QtHandles::ButtonGroup::updateLayout(), octave::jit_convert::visit(), octave::tree_evaluator::visit_cell(), octave::tree_evaluator::visit_complex_for_command(), octave::jit_convert::visit_do_until_command(), octave::tree_evaluator::visit_do_until_command(), octave::tree_evaluator::visit_index_expression(), octave::tree_evaluator::visit_multi_assignment(), octave::tree_evaluator::visit_simple_assignment(), octave::jit_convert::visit_simple_for_command(), octave::tree_evaluator::visit_simple_for_command(), octave::tree_evaluator::visit_try_catch_command(), octave::jit_convert::visit_while_command(), octave::tree_evaluator::visit_while_command(), warning_1(), octave::sys::windows_glob(), and octave_oncleanup::~octave_oncleanup().
graphics_handle gh = gh_manager::lookup (h) |
Definition at line 11812 of file graphics.cc.
Referenced by QtHandles::GLCanvas::autoAxes(), QtHandles::Container::canvas(), property::create(), do_cleanup_waitfor_listener(), QtHandles::GLCanvas::do_getPixels(), handle_property::do_set(), QtHandles::GLCanvas::draw(), if(), QtHandles::GLCanvas::toggleAxes(), QtHandles::GLCanvas::toggleGrid(), waitfor_listener(), and while().
Definition at line 11808 of file graphics.cc.
Referenced by base_properties::adopt(), adopt(), figure::properties::adopt(), close_figure(), octave::opengl_texture::create(), property::create(), graphics_event::create_callback_event(), graphics_event::create_set_event(), delete_graphics_object(), axes::properties::delete_text_child(), do_cleanup_waitfor_listener(), gh_manager::do_close_all_figures(), gh_manager::do_execute_callback(), gh_manager::do_execute_listener(), gh_manager::do_free(), gh_manager::do_make_figure_handle(), gh_manager::do_make_graphics_handle(), do_mgorth(), gh_manager::do_pop_figure(), gh_manager::do_post_callback(), gh_manager::do_post_set(), gh_manager::do_push_figure(), octave::opengl_renderer::draw_image(), drawLineChar(), QtHandles::ContextMenu::executeAt(), F__ftp_close__(), F__get_frame__(), F__zoom__(), base_graphics_toolkit::finalize(), graphics_toolkit::finalize(), finalize_r(), Fmgorth(), force_close_figure(), octave::url_handle_manager::free(), G__osmesa_print__(), octave::url_handle_manager::get_object(), H_insert(), H_remove_min(), octave::url_handle_manager::handle_list(), if(), hess< T >::init(), chol< T >::init(), base_graphics_toolkit::initialize(), graphics_toolkit::initialize(), initialize_r(), octave_fcn_handle::is_equal_to(), is_handle_visible(), is_hghandle(), make_graphics_object_from_type(), octave::url_handle_manager::make_url_handle(), QtHandles::Utils::makeImageFromCData(), handle_property::operator=(), QtHandles::Utils::properties(), octave::ft_text_renderer::push_new_line(), base_properties::remove_child(), root_figure::properties::remove_child(), figure::properties::remove_child(), axes::properties::remove_child(), reparent(), octave::set_interrupt_handler(), base_property::set_parent(), property::set_parent(), octave::opengl_renderer::set_viewport(), QUnixTerminalImpl::setSize(), QtHandles::ButtonGroup::update(), base_graphics_toolkit::update(), graphics_toolkit::update(), base_properties::update_axis_limits(), base_graphics_object::update_axis_limits(), axes::update_axis_limits(), hggroup::update_axis_limits(), octave::file_editor_tab::update_lexer_settings(), octave::ft_text_renderer::visit(), waitfor_listener(), while(), xcreatefcn(), xget(), xinitialize(), xreset_default_properties(), xset(), and xset_gcbo().
ColumnVector hcv = args(0).xvector_value ("set: H must be a graphics handle") |
Definition at line 10826 of file graphics.cc.
uint32_t id = 0 |
Definition at line 12193 of file graphics.cc.
Referenced by octave::math::airy(), octave::math::biry(), check_hdf5_id_value(), octave::opengl_texture::create(), octave::jit_typeinfo::create_identity(), octave::jit_typeinfo::do_cast(), octave_rand::do_distribution(), drawcn(), Gaudiodevinfo(), if(), CollocWt::init(), hook_function_list::insert(), octave::jit_convert::resolve(), rethrow_error(), octave::jit_assign_base::short_print(), octave::jit_magic_end::short_print(), verror(), octave::tree_evaluator::visit_decl_elt(), octave::tree_evaluator::visit_index_expression(), vwarning(), waitfor_del_listener(), waitfor_listener(), and while().
|
static |
Definition at line 12192 of file graphics.cc.
Referenced by if().
OCTAVE_EXPORT octave_value_list isfigure |
Definition at line 10525 of file graphics.cc.
int max_arg_index = 0 |
Definition at line 12195 of file graphics.cc.
Referenced by if().
nd deftypefn* int nargin = args.length () |
Definition at line 10818 of file graphics.cc.
Referenced by graphics_object::set().
OCTAVE_EXPORT octave_value_list while another ode {waitfor} call is pending at the top-level. In the first form |
Definition at line 12177 of file graphics.cc.
caseless_str pname = args(1).xstring_value ("addlistener: PROP must be a string") |
Definition at line 11810 of file graphics.cc.
Referenced by octave::load_path::add(), base_properties::add_listener(), base_graphics_object::build_user_defaults_map(), octave_fcn_handle::call(), base_properties::delete_listener(), do_cleanup_waitfor_listener(), pval_vector::erase(), err_set_invalid(), pval_vector::find(), cdef_object::get(), cdef_object_scalar::get(), base_properties::get(), base_graphics_object::get_default(), axes::get_default(), uitoolbar::get_default(), base_properties::get_dynamic(), cdef_object::get_property(), mxArray_octave_value::get_property(), cdef_object_array::get_property(), mxArray::get_property(), cdef_object_scalar::get_property(), base_properties::get_property_dynamic(), base_properties::has_dynamic_property(), if(), pval_vector::lookup(), property_list::lookup(), octave::load_path::move(), octave_set_program_name_wrapper(), caseless_str::operator=(), pval_vector::operator[](), cdef_object::put(), cdef_object_scalar::put(), octave::load_path::remove(), reparent(), property_list::set(), graphics_object::set(), base_properties::set_dynamic(), base_properties::set_from_list(), cdef_object::set_property(), mxArray_octave_value::set_property(), cdef_object_array::set_property(), cdef_object_scalar::set_property(), mxArray::set_property(), graphics_object::set_value_or_default(), octave::split_name_with_package(), validate_property_name(), base_graphics_object::values_as_string(), base_graphics_object::values_as_struct(), waitfor_listener(), while(), xget(), xreset_default_properties(), and xset().
Definition at line 10828 of file graphics.cc.
Referenced by for().
return retval |
Definition at line 10823 of file graphics.cc.
Referenced by cam2xform(), convert_label_position(), convert_linestyleorder_string(), convert_position(), convert_text_position(), convert_ticklabel_string(), property::create(), default_colororder(), default_control_position(), default_control_sliderstep(), default_data(), default_panel_position(), default_screensize(), children_property::do_get_children(), gh_manager::do_get_handle(), Fget(), for(), axes::properties::get_axis_limits(), figure::get_default(), axes::get_default(), uitoolbar::get_default(), get_graphics_object_type(), is_handle_visible(), is_hghandle(), property_list::lookup(), papersize_from_type(), color_values::str2rgb(), base_graphics_object::value_as_string(), radio_values::values_as_cell(), radio_values::values_as_string(), base_graphics_object::values_as_string(), and base_graphics_object::values_as_struct().
octave::sys::time start |
Definition at line 12337 of file graphics.cc.
Referenced by idx_vector::idx_range_rep::as_array(), idx_vector::assign(), octave::octave_qscintilla::auto_close(), octave_sort< T >::binarysort(), idx_vector::bloop(), brace_expand(), idx_vector::idx_range_rep::checkelem(), idx_vector::copy_data(), Screen::copyLineToStream(), do_bsxfun_op(), octave::jit_instruction::do_construct_ssa(), do_inplace_bsxfun_op(), expand_amble(), idx_vector::idx_range_rep::extent(), idx_vector::fill(), find_starting_node(), octave::main_window::focus_changed(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), Gaudioread(), idx_vector::idx_range_rep::get_start(), Gsymbfact(), dim_vector::increment_index(), idx_vector::index(), octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::init(), idx_vector::idx_range_rep::is_colon_equiv(), idx_vector::loop(), idx_vector::make_range(), octave::regexp::match(), octave::octave_jit_paren_subsasgn_matrix_range(), octregexp(), octave::variable_editor_view::pasteTableClipboard(), idx_vector::idx_range_rep::print(), octave::textscan::read_until(), octave::regexp::replace(), octave::textscan::skip_whitespace(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_range_rep::sort_uniq_clone(), sub2ind(), octave::sys::file_ops::tilde_expand(), idx_vector::idx_range_rep::unconvert(), while(), Screen::writeSelectionToStream(), and idx_vector::idx_range_rep::xelem().
double timeout = 0 |
Definition at line 12198 of file graphics.cc.
Referenced by Emulation::Emulation(), octave::find_files_dialog::find_files_dialog(), if(), QConsolePrivate::QConsolePrivate(), TerminalView::showResizeNotification(), TerminalModel::TerminalModel(), TerminalView::TerminalView(), Vt102Emulation::Vt102Emulation(), and while().
int timeout_index = -1 |
Definition at line 12196 of file graphics.cc.
Referenced by if().
Definition at line 6439 of file graphics.cc.
Referenced by axes::properties::update_aspectratios(), and axes::update_axis_limits().
Definition at line 5757 of file graphics.cc.
Referenced by axes::properties::update_axes_layout().
Definition at line 7778 of file graphics.cc.
Referenced by axes::update_axis_limits().
Definition at line 9201 of file graphics.cc.
Referenced by hggroup::update_axis_limits().
Definition at line 8872 of file graphics.cc.
Definition at line 6337 of file graphics.cc.
Referenced by axes::properties::update_title_position().
Definition at line 6002 of file graphics.cc.
Referenced by axes::properties::update_xlabel_position().
Definition at line 6103 of file graphics.cc.
Referenced by axes::properties::update_ylabel_position().
Definition at line 6213 of file graphics.cc.
Referenced by axes::properties::update_zlabel_position().
Definition at line 11965 of file graphics.cc.
Referenced by cleanup_waitfor_id(), if(), waitfor_del_listener(), waitfor_listener(), and while().