Data Structures | |
| struct | address_const_of |
| struct | address_of |
Public Member Functions | |
| 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 |
| operator::evas::text () const | |
| operator::evas::text & () | |
| operator::evas::text const & () const | |
Static Public Member Functions | |
| static Eo_Class const * | _eo_class () |
|
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.
| x | in |
| y | in |
|
inline |
| x | in | |
| y | in | |
| [out] | cx | out |
| [out] | cy | out |
| [out] | cw | out |
| [out] | ch | out |
|
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.
EINA_FALSE on success, EINA_TRUE on error.| pos | The character position to request co-ordinates for. | |
| [out] | cx | A pointer to an Evas_Coord to store the X value in (can be NULL). |
| [out] | cy | A pointer to an Evas_Coord to store the Y value in (can be NULL). |
| [out] | cw | A pointer to an Evas_Coord to store the Width value in (can be NULL). |
| [out] | ch | A pointer to an Evas_Coord to store the Height value in (can be NULL). |
|
inline |
Retrieves the shadow color for the given text object.
NULL pointers on the color components you're not interested in: they'll be ignored by the function.| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |
|
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().
| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |
|
inline |
Gets the ellipsis currently set on the text object.
| ellipsis | the ellipsis. |
|
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.
| ellipsis | the ellipsis. |
|
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.
| delim | A null terminated string of delimiters, e.g ",|". |
|
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.
| delim | A null terminated string of delimiters, e.g ",|". |
|
inline |
Retrieves the outline color for the given text object.
NULL pointers on the color components you're not interested in: they'll be ignored by the function.| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |
|
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:
| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |
|
inline |
Retrieves the 'glow 2' color for the given text object.
NULL pointers on the color components you're not interested in: they'll be ignored by the function.| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |
|
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().
| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |
|
inline |
Retrieves the style on use on the given text object.
| style | a style type. |
|
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.
The following figure illustrates the text styles:
| style | a style type. |
|
inline |
Retrieves the glow color for the given text object.
NULL pointers on the color components you're not interested in: they'll be ignored by the function.| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |
|
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.
| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |
|
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.
| program | The 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 |
|
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).
| name | Object name as used in the program code |
| eobj | Eo object to use through proxy rendering |
|
inline |
Gets the text style pad of a text object.
| l | The left pad (or NULL). |
| r | The right pad (or NULL). |
| t | The top pad (or NULL). |
| b | The bottom pad (or NULL). |
|
inline |
Retrieves the direction of the text currently being displayed in the text object.