Navigation

Operators and Keywords

Function List:

C++ API

text::properties Class Reference

#include <graphics.h>

Inherits base_properties.

Collaboration diagram for text::properties:

List of all members.

Public Types

enum  {
  ID_STRING = 5000, ID_UNITS = 5001, ID_POSITION = 5002, ID_ROTATION = 5003,
  ID_HORIZONTALALIGNMENT = 5004, ID_COLOR = 5005, ID_FONTNAME = 5006, ID_FONTSIZE = 5007,
  ID_FONTANGLE = 5008, ID_FONTWEIGHT = 5009, ID_INTERPRETER = 5010, ID_BACKGROUNDCOLOR = 5011,
  ID_DISPLAYNAME = 5012, ID_EDGECOLOR = 5013, ID_ERASEMODE = 5014, ID_EDITING = 5015,
  ID_FONTUNITS = 5016, ID_LINESTYLE = 5017, ID_LINEWIDTH = 5018, ID_MARGIN = 5019,
  ID_VERTICALALIGNMENT = 5020, ID_EXTENT = 5021, ID_XLIM = 5022, ID_YLIM = 5023,
  ID_ZLIM = 5024, ID_XLIMINCLUDE = 5025, ID_YLIMINCLUDE = 5026, ID_ZLIMINCLUDE = 5027,
  ID_POSITIONMODE = 5028, ID_ROTATIONMODE = 5029, ID_HORIZONTALALIGNMENTMODE = 5030, ID_VERTICALALIGNMENTMODE = 5031,
  ID_AUTOPOS_TAG = 5032
}

Public Member Functions

 properties (const graphics_handle &mh, const graphics_handle &p)
 ~properties (void)
void set (const caseless_str &pname, const octave_value &val)
octave_value get (bool all=false) const
octave_value get (const caseless_str &pname) const
octave_value get (const std::string &pname) const
octave_value get (const char *pname) const
 get_property (const caseless_str &pname)
std::string graphics_object_name (void) const
std::set< std::string > all_property_names (void) const
bool has_property (const caseless_str &pname) const
std::string get_string (void) const
bool units_is (const std::string &v) const
std::string get_units (void) const
octave_value get_position (void) const
double get_rotation (void) const
bool horizontalalignment_is (const std::string &v) const
std::string get_horizontalalignment (void) const
bool color_is_rgb (void) const
bool color_is (const std::string &v) const
Matrix get_color_rgb (void) const
octave_value get_color (void) const
std::string get_fontname (void) const
double get_fontsize (void) const
bool fontangle_is (const std::string &v) const
std::string get_fontangle (void) const
bool fontweight_is (const std::string &v) const
std::string get_fontweight (void) const
bool interpreter_is (const std::string &v) const
std::string get_interpreter (void) const
bool backgroundcolor_is_rgb (void) const
bool backgroundcolor_is (const std::string &v) const
Matrix get_backgroundcolor_rgb (void) const
octave_value get_backgroundcolor (void) const
std::string get_displayname (void) const
bool edgecolor_is_rgb (void) const
bool edgecolor_is (const std::string &v) const
Matrix get_edgecolor_rgb (void) const
octave_value get_edgecolor (void) const
bool erasemode_is (const std::string &v) const
std::string get_erasemode (void) const
bool is_editing (void) const
std::string get_editing (void) const
bool fontunits_is (const std::string &v) const
std::string get_fontunits (void) const
bool linestyle_is (const std::string &v) const
std::string get_linestyle (void) const
double get_linewidth (void) const
double get_margin (void) const
bool verticalalignment_is (const std::string &v) const
std::string get_verticalalignment (void) const
octave_value get_extent (void) const
octave_value get_xlim (void) const
octave_value get_ylim (void) const
octave_value get_zlim (void) const
bool is_xliminclude (void) const
std::string get_xliminclude (void) const
bool is_yliminclude (void) const
std::string get_yliminclude (void) const
bool is_zliminclude (void) const
std::string get_zliminclude (void) const
bool positionmode_is (const std::string &v) const
std::string get_positionmode (void) const
bool rotationmode_is (const std::string &v) const
std::string get_rotationmode (void) const
bool horizontalalignmentmode_is (const std::string &v) const
std::string get_horizontalalignmentmode (void) const
bool verticalalignmentmode_is (const std::string &v) const
std::string get_verticalalignmentmode (void) const
bool autopos_tag_is (const std::string &v) const
std::string get_autopos_tag (void) const
void set_string (const octave_value &val)
void set_units (const octave_value &val)
void set_position (const octave_value &val)
void set_rotation (const octave_value &val)
void set_horizontalalignment (const octave_value &val)
void set_color (const octave_value &val)
void set_fontname (const octave_value &val)
void set_fontsize (const octave_value &val)
void set_fontangle (const octave_value &val)
void set_fontweight (const octave_value &val)
void set_interpreter (const octave_value &val)
void set_backgroundcolor (const octave_value &val)
void set_displayname (const octave_value &val)
void set_edgecolor (const octave_value &val)
void set_erasemode (const octave_value &val)
void set_editing (const octave_value &val)
void set_fontunits (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_verticalalignment (const octave_value &val)
void set_extent (const octave_value &val)
void set_xlim (const octave_value &val)
void set_ylim (const octave_value &val)
void set_zlim (const octave_value &val)
void set_xliminclude (const octave_value &val)
void set_yliminclude (const octave_value &val)
void set_zliminclude (const octave_value &val)
void set_positionmode (const octave_value &val)
void set_rotationmode (const octave_value &val)
void set_horizontalalignmentmode (const octave_value &val)
void set_verticalalignmentmode (const octave_value &val)
void set_autopos_tag (const octave_value &val)
Matrix get_data_position (void) const
Matrix get_extent_matrix (void) const
const uint8NDArrayget_pixels (void) const

Static Public Member Functions

static property_list::pval_map_type factory_defaults (void)
static std::set< std::string > core_property_names (void)
static bool has_core_property (const caseless_str &pname)

Protected Member Functions

void init (void)

Member Enumeration Documentation

anonymous enum
Enumerator:
ID_STRING 
ID_UNITS 
ID_POSITION 
ID_ROTATION 
ID_HORIZONTALALIGNMENT 
ID_COLOR 
ID_FONTNAME 
ID_FONTSIZE 
ID_FONTANGLE 
ID_FONTWEIGHT 
ID_INTERPRETER 
ID_BACKGROUNDCOLOR 
ID_DISPLAYNAME 
ID_EDGECOLOR 
ID_ERASEMODE 
ID_EDITING 
ID_FONTUNITS 
ID_LINESTYLE 
ID_LINEWIDTH 
ID_MARGIN 
ID_VERTICALALIGNMENT 
ID_EXTENT 
ID_XLIM 
ID_YLIM 
ID_ZLIM 
ID_XLIMINCLUDE 
ID_YLIMINCLUDE 
ID_ZLIMINCLUDE 
ID_POSITIONMODE 
ID_ROTATIONMODE 
ID_HORIZONTALALIGNMENTMODE 
ID_VERTICALALIGNMENTMODE 
ID_AUTOPOS_TAG 

Constructor & Destructor Documentation

text::properties::properties ( const graphics_handle mh,
const graphics_handle p 
)
text::properties::~properties ( void   )  [inline]

Member Function Documentation

std::set< std::string > text::properties::all_property_names ( void   )  const

Reimplemented from base_properties.

bool text::properties::autopos_tag_is ( const std::string &  v  )  const [inline]
bool text::properties::backgroundcolor_is ( const std::string &  v  )  const [inline]
bool text::properties::backgroundcolor_is_rgb ( void   )  const [inline]
bool text::properties::color_is ( const std::string &  v  )  const [inline]
bool text::properties::color_is_rgb ( void   )  const [inline]
std::set< std::string > text::properties::core_property_names ( void   )  [static]

Reimplemented from base_properties.

bool text::properties::edgecolor_is ( const std::string &  v  )  const [inline]
bool text::properties::edgecolor_is_rgb ( void   )  const [inline]
bool text::properties::erasemode_is ( const std::string &  v  )  const [inline]
property_list::pval_map_type text::properties::factory_defaults ( void   )  [static]

Reimplemented from base_properties.

bool text::properties::fontangle_is ( const std::string &  v  )  const [inline]
bool text::properties::fontunits_is ( const std::string &  v  )  const [inline]
bool text::properties::fontweight_is ( const std::string &  v  )  const [inline]
octave_value text::properties::get ( bool  all = false  )  const [virtual]

Reimplemented from base_properties.

octave_value text::properties::get ( const std::string &  pname  )  const [inline, virtual]

Reimplemented from base_properties.

octave_value text::properties::get ( const char *  pname  )  const [inline, virtual]

Reimplemented from base_properties.

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

Reimplemented from base_properties.

std::string text::properties::get_autopos_tag ( void   )  const [inline]
octave_value text::properties::get_backgroundcolor ( void   )  const [inline]
Matrix text::properties::get_backgroundcolor_rgb ( void   )  const [inline]
octave_value text::properties::get_color ( void   )  const [inline]
Matrix text::properties::get_color_rgb ( void   )  const [inline]
Matrix text::properties::get_data_position ( void   )  const
std::string text::properties::get_displayname ( void   )  const [inline]
octave_value text::properties::get_edgecolor ( void   )  const [inline]
Matrix text::properties::get_edgecolor_rgb ( void   )  const [inline]
std::string text::properties::get_editing ( void   )  const [inline]
std::string text::properties::get_erasemode ( void   )  const [inline]
octave_value text::properties::get_extent ( void   )  const
Matrix text::properties::get_extent_matrix ( void   )  const
std::string text::properties::get_fontangle ( void   )  const [inline]
std::string text::properties::get_fontname ( void   )  const [inline]
double text::properties::get_fontsize ( void   )  const [inline]
std::string text::properties::get_fontunits ( void   )  const [inline]
std::string text::properties::get_fontweight ( void   )  const [inline]
std::string text::properties::get_horizontalalignment ( void   )  const [inline]
std::string text::properties::get_horizontalalignmentmode ( void   )  const [inline]
std::string text::properties::get_interpreter ( void   )  const [inline]
std::string text::properties::get_linestyle ( void   )  const [inline]
double text::properties::get_linewidth ( void   )  const [inline]
double text::properties::get_margin ( void   )  const [inline]
const uint8NDArray& text::properties::get_pixels ( void   )  const [inline]
octave_value text::properties::get_position ( void   )  const [inline]
std::string text::properties::get_positionmode ( void   )  const [inline]
text::properties::get_property ( const caseless_str pname  )  [virtual]

Reimplemented from base_properties.

double text::properties::get_rotation ( void   )  const [inline]
std::string text::properties::get_rotationmode ( void   )  const [inline]
std::string text::properties::get_string ( void   )  const [inline]
std::string text::properties::get_units ( void   )  const [inline]
std::string text::properties::get_verticalalignment ( void   )  const [inline]
std::string text::properties::get_verticalalignmentmode ( void   )  const [inline]
octave_value text::properties::get_xlim ( void   )  const [inline, virtual]

Reimplemented from base_properties.

std::string text::properties::get_xliminclude ( void   )  const [inline]
octave_value text::properties::get_ylim ( void   )  const [inline, virtual]

Reimplemented from base_properties.

std::string text::properties::get_yliminclude ( void   )  const [inline]
octave_value text::properties::get_zlim ( void   )  const [inline, virtual]

Reimplemented from base_properties.

std::string text::properties::get_zliminclude ( void   )  const [inline]
std::string text::properties::graphics_object_name ( void   )  const [inline, virtual]

Reimplemented from base_properties.

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

Reimplemented from base_properties.

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

Reimplemented from base_properties.

bool text::properties::horizontalalignment_is ( const std::string &  v  )  const [inline]
bool text::properties::horizontalalignmentmode_is ( const std::string &  v  )  const [inline]
void text::properties::init ( void   )  [inline, protected, virtual]

Reimplemented from base_properties.

bool text::properties::interpreter_is ( const std::string &  v  )  const [inline]
bool text::properties::is_editing ( void   )  const [inline]
bool text::properties::is_xliminclude ( void   )  const [inline, virtual]

Reimplemented from base_properties.

bool text::properties::is_yliminclude ( void   )  const [inline, virtual]

Reimplemented from base_properties.

bool text::properties::is_zliminclude ( void   )  const [inline, virtual]

Reimplemented from base_properties.

bool text::properties::linestyle_is ( const std::string &  v  )  const [inline]
bool text::properties::positionmode_is ( const std::string &  v  )  const [inline]
bool text::properties::rotationmode_is ( const std::string &  v  )  const [inline]
void text::properties::set ( const caseless_str pname,
const octave_value val 
) [virtual]

Reimplemented from base_properties.

void text::properties::set_autopos_tag ( const octave_value val  )  [inline]
void text::properties::set_backgroundcolor ( const octave_value val  )  [inline]
void text::properties::set_color ( const octave_value val  )  [inline]
void text::properties::set_displayname ( const octave_value val  )  [inline]
void text::properties::set_edgecolor ( const octave_value val  )  [inline]
void text::properties::set_editing ( const octave_value val  )  [inline]
void text::properties::set_erasemode ( const octave_value val  )  [inline]
void text::properties::set_extent ( const octave_value val  )  [inline]
void text::properties::set_fontangle ( const octave_value val  )  [inline]
void text::properties::set_fontname ( const octave_value val  )  [inline]
void text::properties::set_fontsize ( const octave_value val  )  [inline]
void text::properties::set_fontunits ( const octave_value val  )  [inline]
void text::properties::set_fontweight ( const octave_value val  )  [inline]
void text::properties::set_horizontalalignment ( const octave_value val  )  [inline]
void text::properties::set_horizontalalignmentmode ( const octave_value val  )  [inline]
void text::properties::set_interpreter ( const octave_value val  )  [inline]
void text::properties::set_linestyle ( const octave_value val  )  [inline]
void text::properties::set_linewidth ( const octave_value val  )  [inline]
void text::properties::set_margin ( const octave_value val  )  [inline]
void text::properties::set_position ( const octave_value val  )  [inline]
void text::properties::set_positionmode ( const octave_value val  )  [inline]
void text::properties::set_rotation ( const octave_value val  )  [inline]
void text::properties::set_rotationmode ( const octave_value val  )  [inline]
void text::properties::set_string ( const octave_value val  )  [inline]
void text::properties::set_units ( const octave_value val  )  [inline]
void text::properties::set_verticalalignment ( const octave_value val  )  [inline]
void text::properties::set_verticalalignmentmode ( const octave_value val  )  [inline]
void text::properties::set_xlim ( const octave_value val  )  [inline]
void text::properties::set_xliminclude ( const octave_value val  )  [inline]
void text::properties::set_ylim ( const octave_value val  )  [inline]
void text::properties::set_yliminclude ( const octave_value val  )  [inline]
void text::properties::set_zlim ( const octave_value val  )  [inline]
void text::properties::set_zliminclude ( const octave_value val  )  [inline]
bool text::properties::units_is ( const std::string &  v  )  const [inline]
bool text::properties::verticalalignment_is ( const std::string &  v  )  const [inline]
bool text::properties::verticalalignmentmode_is ( const std::string &  v  )  const [inline]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines