Data Structures | Public Member Functions | Static Public Member Functions
evas::text Struct Reference

Data Structures

struct  address_const_of
 
struct  address_of
 

Public Member Functions

 text (::efl::eo::parent_type _p=(::efl::eo::parent=nullptr))
 
 text (Eo *eo)
 Eo Constructor. More...
 
 text (std::nullptr_t)
 nullptr_t Constructor. More...
 
 text (text const &other)
 Copy Constructor.
 
int last_up_to_pos (Evas_Coord x_, Evas_Coord y_) const
 Returns the logical position of the last char in the text up to the pos given. More...
 
int char_coords_get (Evas_Coord x_, Evas_Coord y_, Evas_Coord *cx_, Evas_Coord *cy_, Evas_Coord *cw_, Evas_Coord *ch_) const
 
bool char_pos_get (int pos_, Evas_Coord *cx_, Evas_Coord *cy_, Evas_Coord *cw_, Evas_Coord *ch_) const
 Retrieve position and dimension information of a character within a text Evas_Object. More...
 
void shadow_color_get (int *r_, int *g_, int *b_, int *a_) const
 Retrieves the shadow color for the given text object. More...
 
void shadow_color_set (int r_, int g_, int b_, int a_) const
 Sets the shadow color for the given text object. More...
 
double ellipsis_get () const
 Gets the ellipsis currently set on the text object. More...
 
void ellipsis_set (double ellipsis_) const
 Sets the ellipsis that should be used for the text object. More...
 
::efl::eina::optional< std::string > bidi_delimiters_get () const
 Gets the BiDi delimiters used in the textblock. More...
 
void bidi_delimiters_set (::efl::eina::optional< std::string > delim_) const
 Sets the BiDi delimiters used in the textblock. More...
 
void outline_color_get (int *r_, int *g_, int *b_, int *a_) const
 Retrieves the outline color for the given text object. More...
 
void outline_color_set (int r_, int g_, int b_, int a_) const
 Sets the outline color for the given text object. More...
 
void glow2_color_get (int *r_, int *g_, int *b_, int *a_) const
 Retrieves the 'glow 2' color for the given text object. More...
 
void glow2_color_set (int r_, int g_, int b_, int a_) const
 Sets the 'glow 2' color for the given text object. More...
 
Evas_Text_Style_Type style_get () const
 Retrieves the style on use on the given text object. More...
 
void style_set (Evas_Text_Style_Type style_) const
 Sets the style to apply on the given text object. More...
 
void glow_color_get (int *r_, int *g_, int *b_, int *a_) const
 Retrieves the glow color for the given text object. More...
 
void glow_color_set (int r_, int g_, int b_, int a_) const
 Sets the glow color for the given text object. More...
 
void filter_program_set (::efl::eina::optional< std::string > program_) const
 Set an Evas filter program on this Text Object. More...
 
void filter_source_set (::efl::eina::optional< std::string > name_,::efl::eina::optional< ::efl::eo::concrete > eobj_) const
 Bind an object to use as a mask or texture with Evas Filters. More...
 
Evas_Coord max_descent_get () const
 
void style_pad_get (int *l_, int *r_, int *t_, int *b_) const
 Gets the text style pad of a text object. More...
 
Evas_BiDi_Direction direction_get () const
 Retrieves the direction of the text currently being displayed in the text object. More...
 
Evas_Coord ascent_get () const
 
Evas_Coord horiz_advance_get () const
 
Evas_Coord inset_get () const
 
Evas_Coord max_ascent_get () const
 
Evas_Coord vert_advance_get () const
 
Evas_Coord descent_get () const
 
address_of operator& ()
 
address_const_of operator& () const
 
- Public Member Functions inherited from efl::eo::concrete
 concrete (Eo *eo)
 Class constructor. More...
 
 concrete ()
 Default constructor. More...
 
 ~concrete ()
 Class destructor.
 
 concrete (concrete const &other)
 
 concrete (concrete &&other)
 
concreteoperator= (concrete const &other)
 Assignment operator.
 
concreteoperator= (concrete &&other)
 
Eo_eo_ptr () const
 Return a pointer to the EO Object stored in this instance. More...
 
Eo_release ()
 Releases the reference from this concrete object and return the pointer to the EO Object stored in this instance. More...
 
void _reset (Eo *_ptr=nullptr)
 Reset the current pointer to reference a new Eo object.
 
int ref_get () const
 Get the reference count of this object. More...
 
void parent_set (concrete parent)
 Set the parent of this object. More...
 
eina::optional< concreteparent_get ()
 Get the parent of this object. More...
 
Eo_Dbg_Info dbg_info_get ()
 Get debug information of this object. More...
 
 operator bool () const
 
- Public Member Functions inherited from eo_cxx::efl::text
::efl::eina::optional< std::string > text_get () const
 Retrieves the text string currently being displayed by the given text object. More...
 
void text_set (::efl::eina::optional< std::string > text_) const
 Sets the text string to be displayed by the given text object. More...
 
 operator::efl::text () const
 
 operator::efl::text & ()
 
 operator::efl::text const & () const
 
- Public Member Functions inherited from eo_cxx::efl::text_properties
void font_get (const char **font_, Efl_Font_Size *size_) const
 Retrieve the font family and size in use on a given text object. More...
 
void font_set (::efl::eina::optional< std::string > font_, Efl_Font_Size size_) const
 Set the font family or filename, and size on a given text object. More...
 
::efl::eina::optional< std::string > font_source_get () const
 Get the font file's path which is being used on a given text object. More...
 
void font_source_set (::efl::eina::optional< std::string > font_source_) const
 Set the font (source) file to be used on a given text object. More...
 
 operator::efl::text_properties () const
 
 operator::efl::text_properties & ()
 
 operator::efl::text_properties const & () const
 
- Public Member Functions inherited from eo_cxx::eo::base
void event_callback_forwarder_del (const Eo_Event_Description *desc_,::efl::eina::optional< ::efl::eo::concrete > new_obj_) const
 Remove an event callback forwarder for an event and an object. More...
 
void event_thaw () const
 thaw events of object. More...
 
void event_freeze () const
 freeze events of object. More...
 
void event_callback_array_del (const Eo_Callback_Array_Item *array_, const void *user_data_) const
 Del a callback array with a specific data associated to it for an event. More...
 
void wref_del (Eo **wref_) const
 Delete the weak reference passed. More...
 
void destructor () const
 Call the object's destructor. More...
 
::efl::eina::optional< ::efl::eo::concretefinalize () const
 Called at the end of #eo_add. More...
 
void key_data_set (::efl::eina::optional< std::string > key_, const void *data_, eo_key_data_free_func free_func_) const
 Set generic data to object. More...
 
void * key_data_get (::efl::eina::optional< std::string > key_) const
 Get generic data from object. More...
 
void event_callback_del (const Eo_Event_Description *desc_, Eo_Event_Cb func_, const void *user_data_) const
 Del a callback with a specific data associated to it for an event. More...
 
void key_data_del (::efl::eina::optional< std::string > key_) const
 Del generic data from object. More...
 
void event_callback_array_priority_add (const Eo_Callback_Array_Item *array_, Eo_Callback_Priority priority_, const void *data_) const
 Add a callback array for an event with a specific priority. More...
 
void wref_add (::efl::eo::concrete *wref_) const
 Add a new weak reference to obj. More...
 
void dbg_info_get (Eo_Dbg_Info *root_node_) const
 Get dbg information from the object. More...
 
void event_callback_forwarder_add (const Eo_Event_Description *desc_,::efl::eina::optional< ::efl::eo::concrete > new_obj_) const
 Add an event callback forwarder for an event and an object. More...
 
bool event_callback_call (const Eo_Event_Description *desc_, void *event_info_) const
 Call the callbacks for an event of an object. More...
 
void event_callback_priority_add (const Eo_Event_Description *desc_, Eo_Callback_Priority priority_, Eo_Event_Cb cb_, const void *data_) const
 Add a callback for an event with a specific priority. More...
 
Eina_Iteratorchildren_iterator_new () const
 Get an iterator on all childrens.
 
bool composite_attach (::efl::eina::optional< ::efl::eo::concrete > comp_obj_) const
 
bool composite_detach (::efl::eina::optional< ::efl::eo::concrete > comp_obj_) const
 
bool composite_part_is () const
 
::efl::eina::optional< ::efl::eo::concreteparent_get () const
 Get the parent of an object. More...
 
void parent_set (::efl::eina::optional< ::efl::eo::concrete > parent_) const
 Set the parent of an object Parents keep references to their children so in order to delete objects that have parents you need to set parent to NULL or use eo_del() that does that for you (and also unrefs the object). More...
 
int event_global_freeze_count_get () const
 return freeze events of object. More...
 
int event_freeze_count_get () const
 return freeze events of object. More...
 
bool finalized_get () const
 
template<typename F >
::efl::eo::signal_connection callback_callback_add_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_callback_add_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_callback_del_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_callback_del_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_del_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_del_call (T *info)
 
 operator::eo::base () const
 
 operator::eo::base & ()
 
 operator::eo::base const & () const
 
- Public Member Functions inherited from eo_cxx::evas::common_interface
Evasevas_get () const
 No description supplied by the EAPI. More...
 
 operator::evas::common_interface () const
 
 operator::evas::common_interface & ()
 
 operator::evas::common_interface const & () const
 
- Public Member Functions inherited from eo_cxx::evas::object
bool clipees_has () const
 Test if any object is clipped by obj. More...
 
bool key_grab (std::string keyname_, Evas_Modifier_Mask modifiers_, Evas_Modifier_Mask not_modifiers_, bool exclusive_) const
 Requests keyname key events be directed to obj. More...
 
void stack_below (::evas::object below_) const
 Stack obj immediately below below. More...
 
void raise () const
 Raise obj to the top of its layer. More...
 
void stack_above (::evas::object above_) const
 Stack obj immediately above above. More...
 
bool smart_type_check (std::string type_) const
 Checks whether a given smart object or any of its smart object parents is of a given smart class. More...
 
::efl::eina::optional< ::evas::objectname_child_find (::efl::eina::optional< std::string > name_, int recurse_) const
 Retrieves the object from children of the given object with the given name. More...
 
void key_ungrab (std::string keyname_, Evas_Modifier_Mask modifiers_, Evas_Modifier_Mask not_modifiers_) const
 Removes the grab on keyname key events by obj. More...
 
void lower () const
 Lower obj to the bottom of its layer. More...
 
void clip_unset () const
 Disable/cease clipping on a clipped obj object. More...
 
void smart_move_children_relative (Evas_Coord dx_, Evas_Coord dy_) const
 Moves all children objects of a given smart object relative to a given offset. More...
 
bool smart_type_check_ptr (std::string type_) const
 Checks whether a given smart object or any of its smart object parents is of a given smart class, using pointer comparison. More...
 
void size_hint_max_get (Evas_Coord *w_, Evas_Coord *h_) const
 Retrieves the hints for an object's maximum size. More...
 
void size_hint_max_set (Evas_Coord w_, Evas_Coord h_) const
 Sets the hints for an object's maximum size. More...
 
void size_hint_request_get (Evas_Coord *w_, Evas_Coord *h_) const
 Retrieves the hints for an object's optimum size. More...
 
void size_hint_request_set (Evas_Coord w_, Evas_Coord h_) const
 Sets the hints for an object's optimum size. More...
 
bool visibility_get () const
 Retrieves whether or not the given Evas object is visible. More...
 
void visibility_set (bool v_) const
 Makes the given Evas object visible or invisible. More...
 
::efl::eina::optional< std::string > type_get () const
 Retrieves the type of the given Evas object. More...
 
void type_set (::efl::eina::optional< std::string > type_) const
 Sets the type of the given Evas object. More...
 
void size_hint_min_get (Evas_Coord *w_, Evas_Coord *h_) const
 Retrieves the hints for an object's minimum size. More...
 
void size_hint_min_set (Evas_Coord w_, Evas_Coord h_) const
 Sets the hints for an object's minimum size. More...
 
Evas_Object_Pointer_Mode pointer_mode_get () const
 Determine how pointer will behave. More...
 
void pointer_mode_set (Evas_Object_Pointer_Mode pointer_mode_) const
 Set pointer behavior. More...
 
Evas_Render_Op render_op_get () const
 Retrieves the current value of the operation used for rendering the Evas object. More...
 
void render_op_set (Evas_Render_Op render_op_) const
 Sets the render_op to be used for rendering the Evas object. More...
 
bool freeze_events_get () const
 Determine whether an object is set to freeze (discard) events. More...
 
void freeze_events_set (bool freeze_) const
 Set whether an Evas object is to freeze (discard) events. More...
 
const Evas_Mapmap_get () const
 Get current object transformation map. More...
 
void map_set (const Evas_Map *map_) const
 Set current object transformation map. More...
 
void size_hint_aspect_get (Evas_Aspect_Control *aspect_, Evas_Coord *w_, Evas_Coord *h_) const
 Retrieves the hints for an object's aspect ratio. More...
 
void size_hint_aspect_set (Evas_Aspect_Control aspect_, Evas_Coord w_, Evas_Coord h_) const
 Sets the hints for an object's aspect ratio. More...
 
short layer_get () const
 Retrieves the layer of its canvas that the given object is part of. More...
 
void layer_set (short l_) const
 Sets the layer of its canvas that the given object will be part of. More...
 
::evas::object clip_get () const
 Get the object clipping obj (if any). More...
 
void clip_set (::evas::object clip_) const
 Clip one object to another. More...
 
void size_hint_padding_get (Evas_Coord *l_, Evas_Coord *r_, Evas_Coord *t_, Evas_Coord *b_) const
 Retrieves the hints for an object's padding space. More...
 
void size_hint_padding_set (Evas_Coord l_, Evas_Coord r_, Evas_Coord t_, Evas_Coord b_) const
 Sets the hints for an object's padding space. More...
 
bool repeat_events_get () const
 Determine whether an object is set to repeat events. More...
 
void repeat_events_set (bool repeat_) const
 Set whether an Evas object is to repeat events. More...
 
void size_hint_weight_get (double *x_, double *y_) const
 Retrieves the hints for an object's weight. More...
 
void size_hint_weight_set (double x_, double y_) const
 Sets the hints for an object's weight. More...
 
::efl::eina::optional< std::string > name_get () const
 Retrieves the name of the given Evas object. More...
 
void name_set (::efl::eina::optional< std::string > name_) const
 Sets the name of the given Evas object to the given name. More...
 
double scale_get () const
 Retrieves the scaling factor for the given Evas object. More...
 
void scale_set (double scale_) const
 Sets the scaling factor for an Evas object. More...
 
bool static_clip_get () const
 Get the "static clipper" hint flag for a given Evas object. More...
 
void static_clip_set (bool is_static_clip_) const
 Set a hint flag on the given Evas object that it's used as a "static clipper". More...
 
void size_get (Evas_Coord *w_, Evas_Coord *h_) const
 Retrieves the (rectangular) size of the given Evas object. More...
 
void size_set (Evas_Coord w_, Evas_Coord h_) const
 Changes the size of the given Evas object. More...
 
bool focus_get () const
 Retrieve whether an object has the focus. More...
 
void focus_set (bool focus_) const
 Sets or unsets a given object as the currently focused one on its canvas. More...
 
bool is_frame_object_get () const
 
void is_frame_object_set (bool is_frame_) const
 
bool map_enable_get () const
 Get the map enabled state. More...
 
void map_enable_set (bool enabled_) const
 Enable or disable the map that is set. More...
 
bool precise_is_inside_get () const
 Determine whether an object is set to use precise point collision detection. More...
 
void precise_is_inside_set (bool precise_) const
 Set whether to use precise (usually expensive) point collision detection for a given Evas object. More...
 
void size_hint_align_get (double *x_, double *y_) const
 Retrieves the hints for on object's alignment. More...
 
void size_hint_align_set (double x_, double y_) const
 Sets the hints for an object's alignment. More...
 
bool propagate_events_get () const
 Retrieve whether an Evas object is set to propagate events. More...
 
void propagate_events_set (bool propagate_) const
 Set whether events on a smart object's member should get propagated up to its parent. More...
 
bool pass_events_get () const
 Determine whether an object is set to pass (ignore) events. More...
 
void pass_events_set (bool pass_) const
 Set whether an Evas object is to pass (ignore) events. More...
 
void position_get (Evas_Coord *x_, Evas_Coord *y_) const
 Retrieves the position of the given Evas object. More...
 
void position_set (Evas_Coord x_, Evas_Coord y_) const
 Move the given Evas object to the given location inside its canvas' viewport. More...
 
bool anti_alias_get () const
 Retrieves whether or not the given Evas object is to be drawn anti_aliased. More...
 
void anti_alias_set (bool anti_alias_) const
 Sets whether or not the given Evas object is to be drawn anti-aliased. More...
 
void color_get (int *r_, int *g_, int *b_, int *a_) const
 Retrieves the general/main color of the given Evas object. More...
 
void color_set (int r_, int g_, int b_, int a_) const
 Sets the general/main color of the given Evas object to the given one. More...
 
void * smart_data_get () const
 Retrieve user data stored on a given smart object. More...
 
::efl::eina::optional< ::evas::objectsmart_clipped_clipper_get () const
 Get the clipper object for the given clipped smart object. More...
 
::efl::eina::optional< ::evas::objectbelow_get () const
 Get the Evas object stacked right below obj. More...
 
::efl::eina::optional< ::efl::eina::crange_list< ::evas::object > > clipees_get () const
 Return a list of objects currently clipped by obj. More...
 
::efl::eina::optional< ::evas::objectsmart_parent_get () const
 Gets the parent smart object of a given Evas object, if it has one. More...
 
::efl::eina::optional< ::evas::objectabove_get () const
 Get the Evas object stacked right above obj. More...
 
Evas_Display_Mode size_hint_display_mode_get () const
 Retrieves the hints for an object's display mode. More...
 
void size_hint_display_mode_set (Evas_Display_Mode dispmode_) const
 Sets the hints for an object's disply mode. More...
 
template<typename F >
::efl::eo::signal_connection callback_mouse_in_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_mouse_in_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_mouse_out_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_mouse_out_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_mouse_down_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_mouse_down_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_mouse_up_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_mouse_up_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_mouse_move_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_mouse_move_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_mouse_wheel_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_mouse_wheel_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_multi_down_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_multi_down_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_multi_up_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_multi_up_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_multi_move_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_multi_move_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_free_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_free_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_key_down_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_key_down_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_key_up_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_key_up_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_focus_in_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_focus_in_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_focus_out_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_focus_out_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_show_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_show_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_hide_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_hide_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_move_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_move_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_resize_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_resize_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_restack_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_restack_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_del_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_del_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_hold_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_hold_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_changed_size_hints_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_changed_size_hints_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_image_preloaded_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_image_preloaded_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_image_resize_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_image_resize_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_image_unloaded_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_image_unloaded_call (T *info)
 
 operator::evas::object () const
 
 operator::evas::object & ()
 
 operator::evas::object const & () const
 

Static Public Member Functions

static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from eo_cxx::efl::text
static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from eo_cxx::efl::text_properties
static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from eo_cxx::eo::base
static void event_global_freeze ()
 freeze events of object. More...
 
static void event_global_thaw ()
 thaw events of object. More...
 
static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from eo_cxx::evas::common_interface
static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from eo_cxx::evas::object
static Eo_Class const * _eo_class ()
 

Additional Inherited Members

- Protected Attributes inherited from efl::eo::concrete
Eo_eo_raw
 The opaque EO Object.
 

Constructor & Destructor Documentation

evas::text::text ( Eo eo)
inlineexplicit

Eo Constructor.

Constructs the object from an Eo* pointer stealing its ownership.

Parameters
eoThe Eo object pointer.
evas::text::text ( std::nullptr_t  )
inlineexplicit

nullptr_t Constructor.

Constructs an empty (null) object.

Member Function Documentation

int evas::text::last_up_to_pos ( Evas_Coord  x_,
Evas_Coord  y_ 
) const
inline

Returns the logical position of the last char in the text up to the pos given.

this is NOT the position of the last char because of the possibility of RTL in the text.

Parameters
xin
yin
int evas::text::char_coords_get ( Evas_Coord  x_,
Evas_Coord  y_,
Evas_Coord cx_,
Evas_Coord cy_,
Evas_Coord cw_,
Evas_Coord ch_ 
) const
inline
Parameters
xin
yin
[out]cxout
[out]cyout
[out]cwout
[out]chout
bool evas::text::char_pos_get ( int  pos_,
Evas_Coord cx_,
Evas_Coord cy_,
Evas_Coord cw_,
Evas_Coord ch_ 
) const
inline

Retrieve position and dimension information of a character within a text Evas_Object.

This function is used to obtain the X, Y, width and height of the character located at pos within the Evas_Object obj. obj must be a text object as created with evas_object_text_add(). Any of the Evas_Coord parameters (cx, cy, cw, ch) may be NULL in which case no value will be assigned to that parameter.

Returns
EINA_FALSE on success, EINA_TRUE on error.
Parameters
posThe character position to request co-ordinates for.
[out]cxA pointer to an Evas_Coord to store the X value in (can be NULL).
[out]cyA pointer to an Evas_Coord to store the Y value in (can be NULL).
[out]cwA pointer to an Evas_Coord to store the Width value in (can be NULL).
[out]chA pointer to an Evas_Coord to store the Height value in (can be NULL).
void evas::text::shadow_color_get ( int *  r_,
int *  g_,
int *  b_,
int *  a_ 
) const
inline

Retrieves the shadow color for the given text object.

Note
Use NULL pointers on the color components you're not interested in: they'll be ignored by the function.
See also
evas_object_text_shadow_color_set() for more details.
Parameters
rThe red component of the given color.
gThe green component of the given color.
bThe blue component of the given color.
aThe alpha component of the given color.
void evas::text::shadow_color_set ( int  r_,
int  g_,
int  b_,
int  a_ 
) const
inline

Sets the shadow color for the given text object.

Shadow effects, which are fading colors decorating the text underneath it, will just be shown if the object is set to one of the following styles:

One can also change the direction where the shadow grows to, with evas_object_text_style_set().

See also
evas_object_text_shadow_color_get()
Parameters
rThe red component of the given color.
gThe green component of the given color.
bThe blue component of the given color.
aThe alpha component of the given color.
double evas::text::ellipsis_get ( ) const
inline

Gets the ellipsis currently set on the text object.

Returns
The ellipsis set on the text object.
See also
evas_object_text_ellipsis_set.
Since
1.8
Parameters
ellipsisthe ellipsis.
void evas::text::ellipsis_set ( double  ellipsis_) const
inline

Sets the ellipsis that should be used for the text object.

This is a value between 0.0 and 1.0 indicating the position of the text to be shown. 0.0 means the start will be shown and the end trimmed, 1.0 means the beginning will be trimmed and the end will be shown, and any value in between will cause ellipsis to be added in both end of the text and the requested part to be shown. -1.0 means ellipsis is turned off.

Since
1.8
Parameters
ellipsisthe ellipsis.
efl::eina::optional< std::string > evas::text::bidi_delimiters_get ( ) const
inline

Gets the BiDi delimiters used in the textblock.

BiDi delimiters are use for in-paragraph separation of bidi segments. This is useful for example in recipients fields of e-mail clients where bidi oddities can occur when mixing RTL and LTR.

Returns
A null terminated string of delimiters, e.g ",|". If empty, returns NULL.
Since
1.1
Parameters
delimA null terminated string of delimiters, e.g ",|".
void evas::text::bidi_delimiters_set ( ::efl::eina::optional< std::string >  delim_) const
inline

Sets the BiDi delimiters used in the textblock.

BiDi delimiters are use for in-paragraph separation of bidi segments. This is useful for example in recipients fields of e-mail clients where bidi oddities can occur when mixing RTL and LTR.

Since
1.1
Parameters
delimA null terminated string of delimiters, e.g ",|".
void evas::text::outline_color_get ( int *  r_,
int *  g_,
int *  b_,
int *  a_ 
) const
inline

Retrieves the outline color for the given text object.

Note
Use NULL pointers on the color components you're not interested in: they'll be ignored by the function.
See also
evas_object_text_outline_color_set() for more details.
Parameters
rThe red component of the given color.
gThe green component of the given color.
bThe blue component of the given color.
aThe alpha component of the given color.
void evas::text::outline_color_set ( int  r_,
int  g_,
int  b_,
int  a_ 
) const
inline

Sets the outline color for the given text object.

Outline effects (colored lines around text glyphs) will just be shown if the object is set to one of the following styles:

See also
evas_object_text_outline_color_get()
Parameters
rThe red component of the given color.
gThe green component of the given color.
bThe blue component of the given color.
aThe alpha component of the given color.
void evas::text::glow2_color_get ( int *  r_,
int *  g_,
int *  b_,
int *  a_ 
) const
inline

Retrieves the 'glow 2' color for the given text object.

Note
Use NULL pointers on the color components you're not interested in: they'll be ignored by the function.
See also
evas_object_text_glow2_color_set() for more details.
Parameters
rThe red component of the given color.
gThe green component of the given color.
bThe blue component of the given color.
aThe alpha component of the given color.
void evas::text::glow2_color_set ( int  r_,
int  g_,
int  b_,
int  a_ 
) const
inline

Sets the 'glow 2' color for the given text object.

'Glow 2' effects, which are glowing colors decorating the text's (immediate) surroundings, will just be shown if the object is set to the EVAS_TEXT_STYLE_GLOW style. See also evas_object_text_glow_color_set().

See also
evas_object_text_glow2_color_get()
Parameters
rThe red component of the given color.
gThe green component of the given color.
bThe blue component of the given color.
aThe alpha component of the given color.
Evas_Text_Style_Type evas::text::style_get ( ) const
inline

Retrieves the style on use on the given text object.

Returns
the style type in use.
See also
evas_object_text_style_set() for more details.
Parameters
stylea style type.
void evas::text::style_set ( Evas_Text_Style_Type  style_) const
inline

Sets the style to apply on the given text object.

Text object styles are one of the values in Evas_Text_Style_Type. Some of those values are combinations of more than one style, and some account for the direction of the rendering of shadow effects.

Note
One may use the helper macros EVAS_TEXT_STYLE_BASIC_SET and EVAS_TEXT_STYLE_SHADOW_DIRECTION_SET to assemble a style value.

The following figure illustrates the text styles:

text-styles.png
See also
evas_object_text_style_get()
evas_object_text_shadow_color_set()
evas_object_text_outline_color_set()
evas_object_text_glow_color_set()
evas_object_text_glow2_color_set()
Parameters
stylea style type.
void evas::text::glow_color_get ( int *  r_,
int *  g_,
int *  b_,
int *  a_ 
) const
inline

Retrieves the glow color for the given text object.

Note
Use NULL pointers on the color components you're not interested in: they'll be ignored by the function.
See also
evas_object_text_glow_color_set() for more details.
Parameters
rThe red component of the given color.
gThe green component of the given color.
bThe blue component of the given color.
aThe alpha component of the given color.
void evas::text::glow_color_set ( int  r_,
int  g_,
int  b_,
int  a_ 
) const
inline

Sets the glow color for the given text object.

Glow effects, which are glowing colors decorating the text's surroundings, will just be shown if the object is set to the EVAS_TEXT_STYLE_GLOW style.

Note
Glow effects are placed from a short distance of the text itself, but no touching it. For glowing effects right on the borders of the glyphs, see 'glow 2' effects (evas_object_text_glow2_color_set()).
See also
evas_object_text_glow_color_get()
Parameters
rThe red component of the given color.
gThe green component of the given color.
bThe blue component of the given color.
aThe alpha component of the given color.
void evas::text::filter_program_set ( ::efl::eina::optional< std::string >  program_) const
inline

Set an Evas filter program on this Text Object.

If the program fails to compile (syntax error, invalid buffer name, etc...), the standard text effects will be applied instead (SHADOW, etc...). switch back to the standard text effects.

Since
1.9
Note
EXPERIMENTAL FEATURE. This is an unstable API, please use only for testing purposes.
See also
Evas filters reference
Parameters
programThe program code, as defined by the Evas filters script language. Pass NULL to remove the former program and switch back to the standard text effect
void evas::text::filter_source_set ( ::efl::eina::optional< std::string >  name_,
::efl::eina::optional< ::efl::eo::concrete eobj_ 
) const
inline

Bind an object to use as a mask or texture with Evas Filters.

This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).

Since
1.9
Note
EXPERIMENTAL FEATURE. This is an unstable API, please use only for testing purposes.
See also
Evas filters reference
Parameters
nameObject name as used in the program code
eobjEo object to use through proxy rendering
void evas::text::style_pad_get ( int *  l_,
int *  r_,
int *  t_,
int *  b_ 
) const
inline

Gets the text style pad of a text object.

Parameters
lThe left pad (or NULL).
rThe right pad (or NULL).
tThe top pad (or NULL).
bThe bottom pad (or NULL).
Evas_BiDi_Direction evas::text::direction_get ( ) const
inline

Retrieves the direction of the text currently being displayed in the text object.

Returns
the direction of the text