GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
text::properties Class Reference

#include "graphics.h"

Inheritance diagram for text::properties:
base_properties

Public Types

enum  {
  ID_BACKGROUNDCOLOR = 5000 , ID_COLOR = 5001 , ID_EDGECOLOR = 5002 , ID_EDITING = 5003 ,
  ID_EXTENT = 5004 , ID_FONTANGLE = 5005 , ID_FONTNAME = 5006 , ID_FONTSIZE = 5007 ,
  ID_FONTSMOOTHING = 5008 , ID_FONTUNITS = 5009 , ID_FONTWEIGHT = 5010 , ID_HORIZONTALALIGNMENT = 5011 ,
  ID_INTERPRETER = 5012 , ID_LINESTYLE = 5013 , ID_LINEWIDTH = 5014 , ID_MARGIN = 5015 ,
  ID_POSITION = 5016 , ID_ROTATION = 5017 , ID_STRING = 5018 , ID_UNITS = 5019 ,
  ID_VERTICALALIGNMENT = 5020 , ID_XLIM = 5021 , ID_YLIM = 5022 , ID_ZLIM = 5023 ,
  ID_XLIMINCLUDE = 5024 , ID_YLIMINCLUDE = 5025 , ID_ZLIMINCLUDE = 5026 , ID_POSITIONMODE = 5027 ,
  ID_ROTATIONMODE = 5028 , ID_HORIZONTALALIGNMENTMODE = 5029 , ID_VERTICALALIGNMENTMODE = 5030 , ID___AUTOPOS_TAG__ = 5031 ,
  ID___FONTSIZE_POINTS__ = 5032
}
 
- Public Types inherited from base_properties
enum  {
  ID_BEINGDELETED = 0 , ID_BUSYACTION = 1 , ID_BUTTONDOWNFCN = 2 , ID_CHILDREN = 3 ,
  ID_CLIPPING = 4 , ID_CONTEXTMENU = 5 , ID_CREATEFCN = 6 , ID_DELETEFCN = 7 ,
  ID_HANDLEVISIBILITY = 8 , ID_HITTEST = 9 , ID_INTERRUPTIBLE = 10 , ID_PARENT = 11 ,
  ID_PICKABLEPARTS = 12 , ID_SELECTED = 13 , ID_SELECTIONHIGHLIGHT = 14 , ID_TAG = 15 ,
  ID_TYPE = 16 , ID_UICONTEXTMENU = 17 , ID_USERDATA = 18 , ID_VISIBLE = 19 ,
  ID___APPDATA__ = 20 , ID___MODIFIED__ = 21 , ID___MYHANDLE__ = 22
}
 

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 uint8NDArrayget_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)
 

Additional Inherited Members

- Protected Attributes inherited from base_properties
any_property m___appdata__
 
bool_property m___modified__
 
graphics_handle m___myhandle__
 
std::map< caseless_str, property, cmp_caseless_strm_all_props
 
bool_property m_beingdeleted
 
radio_property m_busyaction
 
callback_property m_buttondownfcn
 
children_property m_children
 
bool_property m_clipping
 
handle_property m_contextmenu
 
callback_property m_createfcn
 
callback_property m_deletefcn
 
std::set< std::string > m_dynamic_properties
 
radio_property m_handlevisibility
 
bool_property m_hittest
 
bool_property m_interruptible
 
handle_property m_parent
 
radio_property m_pickableparts
 
bool_property m_selected
 
bool_property m_selectionhighlight
 
string_property m_tag
 
string_property m_type
 
handle_property m_uicontextmenu
 
any_property m_userdata
 
bool_property m_visible
 

Detailed Description

Definition at line 7701 of file graphics.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
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_INTERPRETER 
ID_LINESTYLE 
ID_LINEWIDTH 
ID_MARGIN 
ID_POSITION 
ID_ROTATION 
ID_STRING 
ID_UNITS 
ID_VERTICALALIGNMENT 
ID_XLIM 
ID_YLIM 
ID_ZLIM 
ID_XLIMINCLUDE 
ID_YLIMINCLUDE 
ID_ZLIMINCLUDE 
ID_POSITIONMODE 
ID_ROTATIONMODE 
ID_HORIZONTALALIGNMENTMODE 
ID_VERTICALALIGNMENTMODE 
ID___AUTOPOS_TAG__ 
ID___FONTSIZE_POINTS__ 

Definition at line 7825 of file graphics.h.

Constructor & Destructor Documentation

◆ properties() [1/2]

◆ properties() [2/2]

text::properties::properties ( )
delete

◆ ~properties()

text::properties::~properties ( )
default

Member Function Documentation

◆ __autopos_tag___is()

bool text::properties::__autopos_tag___is ( const std::string &  v) const
inline

Definition at line 7950 of file graphics.h.

References radio_property::is().

◆ all_property_names()

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().

◆ backgroundcolor_is()

bool text::properties::backgroundcolor_is ( const std::string &  v) const
inline

Definition at line 7863 of file graphics.h.

References color_property::is().

◆ backgroundcolor_is_rgb()

bool text::properties::backgroundcolor_is_rgb ( ) const
inline

Definition at line 7862 of file graphics.h.

References color_property::is_rgb().

◆ color_is()

bool text::properties::color_is ( const std::string &  v) const
inline

Definition at line 7868 of file graphics.h.

References color_property::is().

Referenced by opengl_renderer::draw_text().

◆ color_is_rgb()

bool text::properties::color_is_rgb ( ) const
inline

Definition at line 7867 of file graphics.h.

References color_property::is_rgb().

◆ core_property_names()

std::set< std::string > text::properties::core_property_names ( )
static

Definition at line 3930 of file graphics-props.cc.

References base_properties::core_property_names().

◆ edgecolor_is()

bool text::properties::edgecolor_is ( const std::string &  v) const
inline

Definition at line 7873 of file graphics.h.

References color_property::is().

◆ edgecolor_is_rgb()

bool text::properties::edgecolor_is_rgb ( ) const
inline

Definition at line 7872 of file graphics.h.

References color_property::is_rgb().

◆ factory_defaults()

property_list::pval_map_type text::properties::factory_defaults ( )
static

◆ fontangle_is()

bool text::properties::fontangle_is ( const std::string &  v) const
inline

Definition at line 7882 of file graphics.h.

References radio_property::is().

◆ fontunits_is()

bool text::properties::fontunits_is ( const std::string &  v) const
inline

Definition at line 7892 of file graphics.h.

References radio_property::is().

◆ fontweight_is()

bool text::properties::fontweight_is ( const std::string &  v) const
inline

Definition at line 7895 of file graphics.h.

References radio_property::is().

◆ get() [1/4]

octave_value text::properties::get ( bool  all = false) const
virtual

Reimplemented from base_properties.

Definition at line 3674 of file graphics-props.cc.

References base_properties::get(), m, and octave_value::map_value().

◆ get() [2/4]

octave_value text::properties::get ( const caseless_str pname) const
virtual

Reimplemented from base_properties.

Definition at line 3728 of file graphics-props.cc.

◆ get() [3/4]

octave_value text::properties::get ( const char *  pname) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7758 of file graphics.h.

◆ get() [4/4]

octave_value text::properties::get ( const std::string &  pname) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7753 of file graphics.h.

◆ get___autopos_tag__()

std::string text::properties::get___autopos_tag__ ( ) const
inline

Definition at line 7951 of file graphics.h.

References radio_property::current_value().

◆ get___fontsize_points__()

double text::properties::get___fontsize_points__ ( double  box_pix_height = 0) const

◆ get_backgroundcolor()

octave_value text::properties::get_backgroundcolor ( ) const
inline

Definition at line 7865 of file graphics.h.

References color_property::get().

◆ get_backgroundcolor_rgb()

Matrix text::properties::get_backgroundcolor_rgb ( ) const
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().

◆ get_color()

octave_value text::properties::get_color ( ) const
inline

Definition at line 7870 of file graphics.h.

References color_property::get().

◆ get_color_rgb()

Matrix text::properties::get_color_rgb ( ) const
inline

Definition at line 7869 of file graphics.h.

References color_property::is_rgb(), and color_property::rgb().

◆ get_data_position()

Matrix text::properties::get_data_position ( ) const

◆ get_edgecolor()

octave_value text::properties::get_edgecolor ( ) const
inline

Definition at line 7875 of file graphics.h.

References color_property::get().

◆ get_edgecolor_rgb()

Matrix text::properties::get_edgecolor_rgb ( ) const
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().

◆ get_editing()

std::string text::properties::get_editing ( ) const
inline

Definition at line 7878 of file graphics.h.

References radio_property::current_value().

◆ get_extent()

octave_value text::properties::get_extent ( ) const

Definition at line 9184 of file graphics.cc.

References m.

◆ get_extent_matrix()

Matrix text::properties::get_extent_matrix ( bool  rotated = false) const

◆ get_fontangle()

std::string text::properties::get_fontangle ( ) const
inline

Definition at line 7883 of file graphics.h.

References radio_property::current_value().

◆ get_fontname()

std::string text::properties::get_fontname ( ) const
inline

Definition at line 7885 of file graphics.h.

References string_property::string_value().

◆ get_fontsize()

double text::properties::get_fontsize ( ) const
inline

Definition at line 7887 of file graphics.h.

References double_property::double_value().

◆ get_fontsmoothing()

std::string text::properties::get_fontsmoothing ( ) const
inline

Definition at line 7890 of file graphics.h.

References radio_property::current_value().

◆ get_fontunits()

std::string text::properties::get_fontunits ( ) const
inline

Definition at line 7893 of file graphics.h.

References radio_property::current_value().

◆ get_fontweight()

std::string text::properties::get_fontweight ( ) const
inline

Definition at line 7896 of file graphics.h.

References radio_property::current_value().

◆ get_horizontalalignment()

std::string text::properties::get_horizontalalignment ( ) const
inline

Definition at line 7899 of file graphics.h.

References radio_property::current_value().

◆ get_horizontalalignmentmode()

std::string text::properties::get_horizontalalignmentmode ( ) const
inline

Definition at line 7945 of file graphics.h.

References radio_property::current_value().

◆ get_interpreter()

std::string text::properties::get_interpreter ( ) const
inline

Definition at line 7902 of file graphics.h.

References radio_property::current_value().

◆ get_linestyle()

std::string text::properties::get_linestyle ( ) const
inline

Definition at line 7905 of file graphics.h.

References radio_property::current_value().

Referenced by opengl_renderer::draw_text_background().

◆ get_linewidth()

double text::properties::get_linewidth ( ) const
inline

Definition at line 7907 of file graphics.h.

References double_property::double_value().

Referenced by opengl_renderer::draw_text_background().

◆ get_margin()

double text::properties::get_margin ( ) const
inline

Definition at line 7909 of file graphics.h.

References double_property::double_value().

Referenced by opengl_renderer::draw_text_background().

◆ get_pixels()

const uint8NDArray& text::properties::get_pixels ( ) const
inline

Definition at line 8249 of file graphics.h.

Referenced by opengl_renderer::draw_text().

◆ get_position()

octave_value text::properties::get_position ( ) const
inline

Definition at line 7911 of file graphics.h.

References array_property::get().

◆ get_positionmode()

std::string text::properties::get_positionmode ( ) const
inline

Definition at line 7939 of file graphics.h.

References radio_property::current_value().

◆ get_property()

property text::properties::get_property ( const caseless_str pname)
virtual

Reimplemented from base_properties.

Definition at line 3809 of file graphics-props.cc.

◆ get_rotation()

double text::properties::get_rotation ( ) const
inline

◆ get_rotationmode()

std::string text::properties::get_rotationmode ( ) const
inline

Definition at line 7942 of file graphics.h.

References radio_property::current_value().

◆ get_string()

octave_value text::properties::get_string ( ) const
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().

◆ get_units()

std::string text::properties::get_units ( ) const
inline

Definition at line 7918 of file graphics.h.

References radio_property::current_value().

◆ get_verticalalignment()

std::string text::properties::get_verticalalignment ( ) const
inline

Definition at line 7921 of file graphics.h.

References radio_property::current_value().

◆ get_verticalalignmentmode()

std::string text::properties::get_verticalalignmentmode ( ) const
inline

Definition at line 7948 of file graphics.h.

References radio_property::current_value().

◆ get_xlim()

octave_value text::properties::get_xlim ( ) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7923 of file graphics.h.

References array_property::get().

◆ get_xliminclude()

std::string text::properties::get_xliminclude ( ) const
inline

Definition at line 7930 of file graphics.h.

References radio_property::current_value().

◆ get_ylim()

octave_value text::properties::get_ylim ( ) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7925 of file graphics.h.

References array_property::get().

◆ get_yliminclude()

std::string text::properties::get_yliminclude ( ) const
inline

Definition at line 7933 of file graphics.h.

References radio_property::current_value().

◆ get_zlim()

octave_value text::properties::get_zlim ( ) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7927 of file graphics.h.

References array_property::get().

◆ get_zliminclude()

std::string text::properties::get_zliminclude ( ) const
inline

Definition at line 7936 of file graphics.h.

References radio_property::current_value().

◆ graphics_object_name()

std::string text::properties::graphics_object_name ( ) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7765 of file graphics.h.

◆ has_core_property()

bool text::properties::has_core_property ( const caseless_str pname)
static

Definition at line 3982 of file graphics-props.cc.

Referenced by property_list::set().

◆ has_property()

bool text::properties::has_property ( const caseless_str pname) const
virtual

Reimplemented from base_properties.

Definition at line 4034 of file graphics-props.cc.

◆ has_readonly_property()

bool text::properties::has_readonly_property ( const caseless_str pname)
static

Definition at line 4014 of file graphics-props.cc.

◆ horizontalalignment_is()

bool text::properties::horizontalalignment_is ( const std::string &  v) const
inline

Definition at line 7898 of file graphics.h.

References radio_property::is().

◆ horizontalalignmentmode_is()

bool text::properties::horizontalalignmentmode_is ( const std::string &  v) const
inline

Definition at line 7944 of file graphics.h.

References radio_property::is().

◆ init()

void text::properties::init ( )
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().

◆ interpreter_is()

bool text::properties::interpreter_is ( const std::string &  v) const
inline

Definition at line 7901 of file graphics.h.

References radio_property::is().

◆ is_editing()

bool text::properties::is_editing ( ) const
inline

Definition at line 7877 of file graphics.h.

References bool_property::is_on().

◆ is_fontsmoothing()

bool text::properties::is_fontsmoothing ( ) const
inline

Definition at line 7889 of file graphics.h.

References bool_property::is_on().

◆ is_xliminclude()

bool text::properties::is_xliminclude ( ) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7929 of file graphics.h.

References bool_property::is_on().

◆ is_yliminclude()

bool text::properties::is_yliminclude ( ) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7932 of file graphics.h.

References bool_property::is_on().

◆ is_zliminclude()

bool text::properties::is_zliminclude ( ) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 7935 of file graphics.h.

References bool_property::is_on().

◆ linestyle_is()

bool text::properties::linestyle_is ( const std::string &  v) const
inline

Definition at line 7904 of file graphics.h.

References radio_property::is().

◆ positionmode_is()

bool text::properties::positionmode_is ( const std::string &  v) const
inline

Definition at line 7938 of file graphics.h.

References radio_property::is().

◆ readonly_property_names()

std::set< std::string > text::properties::readonly_property_names ( )
static

Definition at line 3990 of file graphics-props.cc.

References base_properties::readonly_property_names().

◆ rotationmode_is()

bool text::properties::rotationmode_is ( const std::string &  v) const
inline

Definition at line 7941 of file graphics.h.

References radio_property::is().

◆ set()

void text::properties::set ( const caseless_str pname,
const octave_value val 
)
virtual

Reimplemented from base_properties.

Definition at line 3601 of file graphics-props.cc.

◆ set___autopos_tag__()

void text::properties::set___autopos_tag__ ( const octave_value val)
inline

Definition at line 8230 of file graphics.h.

References base_property::set().

◆ set___fontsize_points__()

void text::properties::set___fontsize_points__ ( const octave_value val)
inline

Definition at line 8238 of file graphics.h.

References base_property::set().

◆ set_backgroundcolor()

void text::properties::set_backgroundcolor ( const octave_value val)
inline

Definition at line 7954 of file graphics.h.

References base_property::set().

◆ set_color()

void text::properties::set_color ( const octave_value val)
inline

Definition at line 7962 of file graphics.h.

References base_property::set().

◆ set_edgecolor()

void text::properties::set_edgecolor ( const octave_value val)
inline

Definition at line 7971 of file graphics.h.

References base_property::set().

◆ set_editing()

void text::properties::set_editing ( const octave_value val)
inline

Definition at line 7979 of file graphics.h.

References base_property::set().

◆ set_extent()

void text::properties::set_extent ( const octave_value val)
inline

Definition at line 7987 of file graphics.h.

References base_property::set().

◆ set_fontangle()

void text::properties::set_fontangle ( const octave_value val)
inline

Definition at line 7995 of file graphics.h.

References base_property::set().

◆ set_fontname()

void text::properties::set_fontname ( const octave_value val)
inline

Definition at line 8004 of file graphics.h.

References base_property::set().

◆ set_fontsize()

void text::properties::set_fontsize ( const octave_value val)
inline

Definition at line 8013 of file graphics.h.

References base_property::set().

◆ set_fontsmoothing()

void text::properties::set_fontsmoothing ( const octave_value val)
inline

Definition at line 8022 of file graphics.h.

References base_property::set().

◆ set_fontunits()

void text::properties::set_fontunits ( const octave_value val)

Definition at line 9206 of file graphics.cc.

References base_graphics_object::mark_modified().

◆ set_fontweight()

void text::properties::set_fontweight ( const octave_value val)
inline

Definition at line 8035 of file graphics.h.

References base_property::set().

◆ set_horizontalalignment()

void text::properties::set_horizontalalignment ( const octave_value val)
inline

Definition at line 8044 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ set_horizontalalignmentmode()

void text::properties::set_horizontalalignmentmode ( const octave_value val)
inline

Definition at line 8212 of file graphics.h.

References base_property::set().

◆ set_interpreter()

void text::properties::set_interpreter ( const octave_value val)
inline

Definition at line 8057 of file graphics.h.

References base_property::set().

◆ set_linestyle()

void text::properties::set_linestyle ( const octave_value val)
inline

Definition at line 8066 of file graphics.h.

References base_property::set().

◆ set_linewidth()

void text::properties::set_linewidth ( const octave_value val)
inline

Definition at line 8074 of file graphics.h.

References base_property::set().

◆ set_margin()

void text::properties::set_margin ( const octave_value val)
inline

Definition at line 8082 of file graphics.h.

References base_property::set().

◆ set_position()

void text::properties::set_position ( const octave_value val)
inline

◆ set_positionmode()

void text::properties::set_positionmode ( const octave_value val)
inline

Definition at line 8194 of file graphics.h.

References base_property::set().

◆ set_rotation()

void text::properties::set_rotation ( const octave_value val)
inline

Definition at line 8090 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ set_rotationmode()

void text::properties::set_rotationmode ( const octave_value val)
inline

Definition at line 8203 of file graphics.h.

References base_property::set().

◆ set_string()

void text::properties::set_string ( const octave_value val)
inline

Definition at line 8103 of file graphics.h.

References base_property::set().

◆ set_units()

void text::properties::set_units ( const octave_value val)
inline

Definition at line 8112 of file graphics.h.

References base_property::set().

◆ set_verticalalignment()

void text::properties::set_verticalalignment ( const octave_value val)
inline

Definition at line 8121 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ set_verticalalignmentmode()

void text::properties::set_verticalalignmentmode ( const octave_value val)
inline

Definition at line 8221 of file graphics.h.

References base_property::set().

◆ set_xlim()

void text::properties::set_xlim ( const octave_value val)
inline

Definition at line 8134 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ set_xliminclude()

void text::properties::set_xliminclude ( const octave_value val)
inline

Definition at line 8164 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ set_ylim()

void text::properties::set_ylim ( const octave_value val)
inline

Definition at line 8144 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ set_yliminclude()

void text::properties::set_yliminclude ( const octave_value val)
inline

Definition at line 8174 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ set_zlim()

void text::properties::set_zlim ( const octave_value val)
inline

Definition at line 8154 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ set_zliminclude()

void text::properties::set_zliminclude ( const octave_value val)
inline

Definition at line 8184 of file graphics.h.

References GCB_POSTSET, base_property::run_listeners(), and base_property::set().

◆ units_is()

bool text::properties::units_is ( const std::string &  v) const
inline

Definition at line 7917 of file graphics.h.

References radio_property::is().

◆ update_font()

void text::properties::update_font ( )

Definition at line 9241 of file graphics.cc.

◆ update_fontunits()

void text::properties::update_fontunits ( )

◆ update_text_extent()

void text::properties::update_text_extent ( )

◆ verticalalignment_is()

bool text::properties::verticalalignment_is ( const std::string &  v) const
inline

Definition at line 7920 of file graphics.h.

References radio_property::is().

◆ verticalalignmentmode_is()

bool text::properties::verticalalignmentmode_is ( const std::string &  v) const
inline

Definition at line 7947 of file graphics.h.

References radio_property::is().

Member Data Documentation

◆ m_txt_renderer

octave::text_renderer text::properties::m_txt_renderer

Definition at line 8252 of file graphics.h.


The documentation for this class was generated from the following files: