#include "graphics.h"
Public Member Functions | |
properties ()=delete | |
properties (const graphics_handle &mh, const graphics_handle &p) | |
~properties ()=default | |
bool | __autopos_tag___is (const std::string &v) const |
std::set< std::string > | all_property_names () const |
bool | backgroundcolor_is (const std::string &v) const |
bool | backgroundcolor_is_rgb () const |
bool | color_is (const std::string &v) const |
bool | color_is_rgb () const |
bool | edgecolor_is (const std::string &v) const |
bool | edgecolor_is_rgb () const |
bool | fontangle_is (const std::string &v) const |
bool | fontunits_is (const std::string &v) const |
bool | fontweight_is (const std::string &v) const |
octave_value | get (bool all=false) const |
octave_value | get (const caseless_str &pname) const |
octave_value | get (const char *pname) const |
octave_value | get (const std::string &pname) const |
std::string | get___autopos_tag__ () const |
double | get___fontsize_points__ (double box_pix_height=0) const |
octave_value | get_backgroundcolor () const |
Matrix | get_backgroundcolor_rgb () const |
octave_value | get_color () const |
Matrix | get_color_rgb () const |
Matrix | get_data_position () const |
octave_value | get_edgecolor () const |
Matrix | get_edgecolor_rgb () const |
std::string | get_editing () const |
octave_value | get_extent () const |
Matrix | get_extent_matrix (bool rotated=false) const |
std::string | get_fontangle () const |
std::string | get_fontname () const |
double | get_fontsize () const |
std::string | get_fontsmoothing () const |
std::string | get_fontunits () const |
std::string | get_fontweight () const |
std::string | get_horizontalalignment () const |
std::string | get_horizontalalignmentmode () const |
std::string | get_interpreter () const |
std::string | get_linestyle () const |
double | get_linewidth () const |
double | get_margin () const |
const uint8NDArray & | get_pixels () const |
octave_value | get_position () const |
std::string | get_positionmode () const |
property | get_property (const caseless_str &pname) |
double | get_rotation () const |
std::string | get_rotationmode () const |
octave_value | get_string () const |
std::string | get_units () const |
std::string | get_verticalalignment () const |
std::string | get_verticalalignmentmode () const |
octave_value | get_xlim () const |
std::string | get_xliminclude () const |
octave_value | get_ylim () const |
std::string | get_yliminclude () const |
octave_value | get_zlim () const |
std::string | get_zliminclude () const |
std::string | graphics_object_name () const |
bool | has_property (const caseless_str &pname) const |
bool | horizontalalignment_is (const std::string &v) const |
bool | horizontalalignmentmode_is (const std::string &v) const |
bool | interpreter_is (const std::string &v) const |
bool | is_editing () const |
bool | is_fontsmoothing () const |
bool | is_xliminclude () const |
bool | is_yliminclude () const |
bool | is_zliminclude () const |
bool | linestyle_is (const std::string &v) const |
bool | positionmode_is (const std::string &v) const |
bool | rotationmode_is (const std::string &v) const |
void | set (const caseless_str &pname, const octave_value &val) |
void | set___autopos_tag__ (const octave_value &val) |
void | set___fontsize_points__ (const octave_value &val) |
void | set_backgroundcolor (const octave_value &val) |
void | set_color (const octave_value &val) |
void | set_edgecolor (const octave_value &val) |
void | set_editing (const octave_value &val) |
void | set_extent (const octave_value &val) |
void | set_fontangle (const octave_value &val) |
void | set_fontname (const octave_value &val) |
void | set_fontsize (const octave_value &val) |
void | set_fontsmoothing (const octave_value &val) |
void | set_fontunits (const octave_value &val) |
void | set_fontweight (const octave_value &val) |
void | set_horizontalalignment (const octave_value &val) |
void | set_horizontalalignmentmode (const octave_value &val) |
void | set_interpreter (const octave_value &val) |
void | set_linestyle (const octave_value &val) |
void | set_linewidth (const octave_value &val) |
void | set_margin (const octave_value &val) |
void | set_position (const octave_value &val) |
void | set_positionmode (const octave_value &val) |
void | set_rotation (const octave_value &val) |
void | set_rotationmode (const octave_value &val) |
void | set_string (const octave_value &val) |
void | set_units (const octave_value &val) |
void | set_verticalalignment (const octave_value &val) |
void | set_verticalalignmentmode (const octave_value &val) |
void | set_xlim (const octave_value &val) |
void | set_xliminclude (const octave_value &val) |
void | set_ylim (const octave_value &val) |
void | set_yliminclude (const octave_value &val) |
void | set_zlim (const octave_value &val) |
void | set_zliminclude (const octave_value &val) |
bool | units_is (const std::string &v) const |
void | update_font () |
void | update_fontunits () |
void | update_text_extent () |
bool | verticalalignment_is (const std::string &v) const |
bool | verticalalignmentmode_is (const std::string &v) const |
Public Member Functions inherited from base_properties | |
base_properties (const std::string &ty="unknown", const graphics_handle &mh=graphics_handle(), const graphics_handle &p=graphics_handle()) | |
virtual | ~base_properties ()=default |
virtual void | add_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET) |
virtual void | adopt (const graphics_handle &h) |
std::set< std::string > | all_property_names () const |
bool | busyaction_is (const std::string &v) const |
virtual void | delete_children (bool clear=false, bool from_root=false) |
virtual void | delete_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET) |
std::set< std::string > | dynamic_property_names () const |
void | execute_buttondownfcn (const octave_value &new_data=octave_value()) const |
void | execute_createfcn (const octave_value &new_data=octave_value()) const |
void | execute_deletefcn (const octave_value &new_data=octave_value()) const |
octave_value | get___appdata__ () const |
std::string | get___modified__ () const |
graphics_handle | get___myhandle__ () const |
virtual octave_value | get_alim () const |
Matrix | get_all_children () const |
std::string | get_beingdeleted () const |
virtual Matrix | get_boundingbox (bool=false, const Matrix &=Matrix()) const |
std::string | get_busyaction () const |
octave_value | get_buttondownfcn () const |
Matrix | get_children () const |
void | get_children_of_type (const caseless_str &type, bool get_invisible, bool traverse, std::list< graphics_object > &children_list) const |
virtual octave_value | get_clim () const |
std::string | get_clipping () const |
graphics_handle | get_contextmenu () const |
octave_value | get_createfcn () const |
octave_value | get_deletefcn () const |
std::string | get_handlevisibility () const |
Matrix | get_hidden_children () const |
std::string | get_hittest () const |
std::string | get_interruptible () const |
graphics_handle | get_parent () const |
std::string | get_pickableparts () const |
std::string | get_selected () const |
std::string | get_selectionhighlight () const |
std::string | get_tag () const |
virtual octave::graphics_toolkit | get_toolkit () const |
std::string | get_type () const |
graphics_handle | get_uicontextmenu () const |
octave_value | get_userdata () const |
std::string | get_visible () const |
bool | handlevisibility_is (const std::string &v) const |
bool | has_dynamic_property (const std::string &pname) const |
virtual void | init_integerhandle (const octave_value &) |
void | insert_property (const std::string &name, property p) |
bool | is___modified__ () const |
virtual bool | is_aliminclude () const |
bool | is_beingdeleted () const |
virtual bool | is_climinclude () const |
bool | is_clipping () const |
bool | is_handle_visible () const |
bool | is_hittest () const |
bool | is_interruptible () const |
bool | is_modified () const |
bool | is_selected () const |
bool | is_selectionhighlight () const |
bool | is_visible () const |
void | mark_modified () |
void | override_defaults (base_graphics_object &obj) |
bool | pickableparts_is (const std::string &v) const |
virtual void | remove_child (const graphics_handle &h, bool=false) |
void | renumber_child (graphics_handle old_gh, graphics_handle new_gh) |
void | renumber_parent (graphics_handle new_gh) |
void | reparent (const graphics_handle &new_parent) |
void | set___appdata__ (const octave_value &val) |
void | set___modified__ (const octave_value &val) |
void | set_beingdeleted (const octave_value &val) |
void | set_busyaction (const octave_value &val) |
void | set_buttondownfcn (const octave_value &val) |
void | set_children (const octave_value &val) |
void | set_clipping (const octave_value &val) |
void | set_contextmenu (const octave_value &val) |
void | set_createfcn (const octave_value &val) |
void | set_deletefcn (const octave_value &val) |
void | set_from_list (base_graphics_object &obj, property_list &defaults) |
void | set_handlevisibility (const octave_value &val) |
void | set_hittest (const octave_value &val) |
void | set_interruptible (const octave_value &val) |
void | set_modified (const octave_value &val) |
void | set_parent (const octave_value &val) |
void | set_pickableparts (const octave_value &val) |
void | set_selected (const octave_value &val) |
void | set_selectionhighlight (const octave_value &val) |
void | set_tag (const octave_value &val) |
void | set_uicontextmenu (const octave_value &val) |
void | set_userdata (const octave_value &val) |
void | set_visible (const octave_value &val) |
virtual void | update_autopos (const std::string &elem_type) |
virtual void | update_axis_limits (const std::string &axis_type) const |
virtual void | update_axis_limits (const std::string &axis_type, const graphics_handle &h) const |
virtual void | update_beingdeleted () |
virtual void | update_boundingbox () |
virtual void | update_contextmenu () const |
virtual void | update_handlevisibility () |
virtual void | update_visible () |
Static Public Member Functions | |
static std::set< std::string > | core_property_names () |
static property_list::pval_map_type | factory_defaults () |
static bool | has_core_property (const caseless_str &pname) |
static bool | has_readonly_property (const caseless_str &pname) |
static std::set< std::string > | readonly_property_names () |
Static Public Member Functions inherited from base_properties | |
static std::set< std::string > | core_property_names () |
static property_list::pval_map_type | factory_defaults () |
static bool | has_core_property (const caseless_str &pname) |
static bool | has_readonly_property (const caseless_str &pname) |
static std::set< std::string > | readonly_property_names () |
Public Attributes | |
octave::text_renderer | m_txt_renderer |
Protected Member Functions | |
void | init () |
Protected Member Functions inherited from base_properties | |
octave_value | get_dynamic (bool all=false) const |
octave_value | get_dynamic (const caseless_str &pname) const |
property | get_property_dynamic (const caseless_str &pname) const |
void | set_dynamic (const caseless_str &pname, const octave_value &val) |
Definition at line 7701 of file graphics.h.
anonymous enum |
Definition at line 7825 of file graphics.h.
text::properties::properties | ( | const graphics_handle & | mh, |
const graphics_handle & | p | ||
) |
Definition at line 3516 of file graphics-props.cc.
References ID___AUTOPOS_TAG__, ID___FONTSIZE_POINTS__, ID_BACKGROUNDCOLOR, ID_COLOR, ID_EDGECOLOR, ID_EDITING, ID_EXTENT, ID_FONTANGLE, ID_FONTNAME, ID_FONTSIZE, ID_FONTSMOOTHING, ID_FONTUNITS, ID_FONTWEIGHT, ID_HORIZONTALALIGNMENT, ID_HORIZONTALALIGNMENTMODE, ID_INTERPRETER, ID_LINESTYLE, ID_LINEWIDTH, ID_MARGIN, ID_POSITION, ID_POSITIONMODE, ID_ROTATION, ID_ROTATIONMODE, ID_STRING, ID_UNITS, ID_VERTICALALIGNMENT, ID_VERTICALALIGNMENTMODE, ID_XLIM, ID_XLIMINCLUDE, ID_YLIM, ID_YLIMINCLUDE, ID_ZLIM, ID_ZLIMINCLUDE, init(), base_property::set_hidden(), and base_property::set_id().
|
delete |
|
default |
|
inline |
Definition at line 7950 of file graphics.h.
References radio_property::is().
std::set< std::string > text::properties::all_property_names | ( | ) | const |
Definition at line 4022 of file graphics-props.cc.
References base_properties::all_property_names().
|
inline |
Definition at line 7863 of file graphics.h.
References color_property::is().
|
inline |
Definition at line 7862 of file graphics.h.
References color_property::is_rgb().
|
inline |
Definition at line 7868 of file graphics.h.
References color_property::is().
Referenced by opengl_renderer::draw_text().
|
inline |
Definition at line 7867 of file graphics.h.
References color_property::is_rgb().
|
static |
Definition at line 3930 of file graphics-props.cc.
References base_properties::core_property_names().
|
inline |
Definition at line 7873 of file graphics.h.
References color_property::is().
|
inline |
Definition at line 7872 of file graphics.h.
References color_property::is_rgb().
|
static |
Definition at line 3886 of file graphics-props.cc.
References base_properties::factory_defaults(), m, and OCTAVE_DEFAULT_FONTNAME.
|
inline |
Definition at line 7882 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 7892 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 7895 of file graphics.h.
References radio_property::is().
|
virtual |
Reimplemented from base_properties.
Definition at line 3674 of file graphics-props.cc.
References base_properties::get(), m, and octave_value::map_value().
|
virtual |
Reimplemented from base_properties.
Definition at line 3728 of file graphics-props.cc.
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7758 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7753 of file graphics.h.
|
inline |
Definition at line 7951 of file graphics.h.
References radio_property::current_value().
double text::properties::get___fontsize_points__ | ( | double | box_pix_height = 0 | ) | const |
Definition at line 9351 of file graphics.cc.
References __get_gh_manager__(), Array< T, Alloc >::elem(), graphics_object::get_ancestor(), base_properties::get_boundingbox(), gh_manager::get_object(), and graphics_object::get_properties().
|
inline |
Definition at line 7865 of file graphics.h.
References color_property::get().
|
inline |
Definition at line 7864 of file graphics.h.
References color_property::is_rgb(), and color_property::rgb().
Referenced by opengl_renderer::draw_text_background().
|
inline |
Definition at line 7870 of file graphics.h.
References color_property::get().
|
inline |
Definition at line 7869 of file graphics.h.
References color_property::is_rgb(), and color_property::rgb().
Matrix text::properties::get_data_position | ( | ) | const |
Definition at line 9129 of file graphics.cc.
Referenced by opengl_renderer::draw_text(), opengl_renderer::draw_text_background(), and axes::properties::get_extent().
|
inline |
Definition at line 7875 of file graphics.h.
References color_property::get().
|
inline |
Definition at line 7874 of file graphics.h.
References color_property::is_rgb(), and color_property::rgb().
Referenced by opengl_renderer::draw_text_background().
|
inline |
Definition at line 7878 of file graphics.h.
References radio_property::current_value().
octave_value text::properties::get_extent | ( | ) | const |
Definition at line 9184 of file graphics.cc.
References m.
Matrix text::properties::get_extent_matrix | ( | bool | rotated = false | ) | const |
Definition at line 9140 of file graphics.cc.
References atan(), max(), and min().
Referenced by opengl_renderer::draw_text(), opengl_renderer::draw_text_background(), and axes::properties::get_extent().
|
inline |
Definition at line 7883 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7885 of file graphics.h.
References string_property::string_value().
|
inline |
Definition at line 7887 of file graphics.h.
References double_property::double_value().
|
inline |
Definition at line 7890 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7893 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7896 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7899 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7945 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7902 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7905 of file graphics.h.
References radio_property::current_value().
Referenced by opengl_renderer::draw_text_background().
|
inline |
Definition at line 7907 of file graphics.h.
References double_property::double_value().
Referenced by opengl_renderer::draw_text_background().
|
inline |
Definition at line 7909 of file graphics.h.
References double_property::double_value().
Referenced by opengl_renderer::draw_text_background().
|
inline |
Definition at line 8249 of file graphics.h.
Referenced by opengl_renderer::draw_text().
|
inline |
Definition at line 7911 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 7939 of file graphics.h.
References radio_property::current_value().
|
virtual |
Reimplemented from base_properties.
Definition at line 3809 of file graphics-props.cc.
|
inline |
Definition at line 7913 of file graphics.h.
References double_property::double_value().
Referenced by opengl_renderer::draw_text(), and opengl_renderer::draw_text_background().
|
inline |
Definition at line 7942 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7915 of file graphics.h.
References text_label_property::get().
Referenced by opengl_renderer::draw_text(), and axes::properties::get_extent().
|
inline |
Definition at line 7918 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7921 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 7948 of file graphics.h.
References radio_property::current_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7923 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 7930 of file graphics.h.
References radio_property::current_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7925 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 7933 of file graphics.h.
References radio_property::current_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7927 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 7936 of file graphics.h.
References radio_property::current_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7765 of file graphics.h.
|
static |
Definition at line 3982 of file graphics-props.cc.
Referenced by property_list::set().
|
virtual |
Reimplemented from base_properties.
Definition at line 4034 of file graphics-props.cc.
|
static |
Definition at line 4014 of file graphics-props.cc.
|
inline |
Definition at line 7898 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 7944 of file graphics.h.
References radio_property::is().
|
inlineprotectedvirtual |
Reimplemented from base_properties.
Definition at line 8255 of file graphics.h.
References array_property::add_constraint(), and double_property::add_constraint().
Referenced by properties().
|
inline |
Definition at line 7901 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 7877 of file graphics.h.
References bool_property::is_on().
|
inline |
Definition at line 7889 of file graphics.h.
References bool_property::is_on().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7929 of file graphics.h.
References bool_property::is_on().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7932 of file graphics.h.
References bool_property::is_on().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 7935 of file graphics.h.
References bool_property::is_on().
|
inline |
Definition at line 7904 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 7938 of file graphics.h.
References radio_property::is().
|
static |
Definition at line 3990 of file graphics-props.cc.
References base_properties::readonly_property_names().
|
inline |
Definition at line 7941 of file graphics.h.
References radio_property::is().
|
virtual |
Reimplemented from base_properties.
Definition at line 3601 of file graphics-props.cc.
|
inline |
Definition at line 8230 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8238 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7954 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7962 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7971 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7979 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7987 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7995 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8004 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8013 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8022 of file graphics.h.
References base_property::set().
void text::properties::set_fontunits | ( | const octave_value & | val | ) |
Definition at line 9206 of file graphics.cc.
References base_graphics_object::mark_modified().
|
inline |
Definition at line 8035 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8044 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8212 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8057 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8066 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8074 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8082 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 7712 of file graphics.h.
References GCB_POSTSET, octave_value::numel(), octave_value::resize(), base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8194 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8090 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8203 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8103 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8112 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8121 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8221 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 8134 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8164 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8144 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8174 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8154 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 8184 of file graphics.h.
References GCB_POSTSET, base_property::run_listeners(), and base_property::set().
|
inline |
Definition at line 7917 of file graphics.h.
References radio_property::is().
void text::properties::update_font | ( | ) |
Definition at line 9241 of file graphics.cc.
void text::properties::update_fontunits | ( | ) |
void text::properties::update_text_extent | ( | ) |
Definition at line 9263 of file graphics.cc.
References __get_gh_manager__(), gh_manager::graphics_lock(), string_vector::join(), and octave_value::string_vector_value().
|
inline |
Definition at line 7920 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 7947 of file graphics.h.
References radio_property::is().
octave::text_renderer text::properties::m_txt_renderer |
Definition at line 8252 of file graphics.h.