|
| void | update_add (int x_, int y_, int w_, int h_) const |
| | Indicate for evas that part of a textgrid region (cells) has been updated. More...
|
| |
| void | cellrow_set (int y_, const Evas_Textgrid_Cell *row_) const |
| | Set the string at the given row of the given textgrid object. More...
|
| |
| Evas_Textgrid_Cell * | cellrow_get (int y_) const |
| | Get the string at the given row of the given textgrid object. More...
|
| |
| void | palette_set (Evas_Textgrid_Palette pal_, int idx_, int r_, int g_, int b_, int a_) const |
| | The set color to the given palette at the given index of the given textgrid object. More...
|
| |
| void | palette_get (Evas_Textgrid_Palette pal_, int idx_, int *r_, int *g_, int *b_, int *a_) const |
| | The retrieve color to the given palette at the given index of the given textgrid object. More...
|
| |
| Evas_Textgrid_Font_Style | supported_font_styles_get () const |
| | This function is not implemented yet, do not use. More...
|
| |
| void | supported_font_styles_set (Evas_Textgrid_Font_Style styles_) const |
| | This function is not implemented yet, do not use. More...
|
| |
| void | size_get (int *w_, int *h_) const |
| | Get the size of the textgrid object. More...
|
| |
| void | size_set (int w_, int h_) const |
| | Set the size of the textgrid object. More...
|
| |
| void | cell_size_get (int *width_, int *height_) const |
| | Retrieve the size of a cell of the given textgrid object in pixels. More...
|
| |
|
| operator::evas::textgrid () const |
| |
|
| operator::evas::textgrid & () |
| |
|
| operator::evas::textgrid const & () const |
| |
| void eo_cxx::evas::textgrid::palette_set |
( |
Evas_Textgrid_Palette |
pal_, |
|
|
int |
idx_, |
|
|
int |
r_, |
|
|
int |
g_, |
|
|
int |
b_, |
|
|
int |
a_ |
|
) |
| const |
|
inline |
The set color to the given palette at the given index of the given textgrid object.
This function sets the color for the palette of type pal at the index idx of the textgrid object obj. The ARGB components are given by r, g, b and a. This color can be used when setting the Evas_Textgrid_Cell structure. The components must set a pre-multiplied color. If pal is EVAS_TEXTGRID_PALETTE_NONE or EVAS_TEXTGRID_PALETTE_LAST, or if idx is not between 0 and 255, or on error, this function does nothing. The color components are clamped between 0 and 255. If idx is greater than the latest set color, the colors between this last index and idx - 1 are set to black (0, 0, 0, 0).
- See also
- evas_object_textgrid_palette_get()
- Since
- 1.7
- Parameters
-
| pal | The type of the palette to set the color. |
| idx | The index of the paletter to which the color is stored. |
| r | The red component of the color. |
| g | The green component of the color. |
| b | The blue component of the color. |
| a | The alpha component of the color. |
| void eo_cxx::evas::textgrid::palette_get |
( |
Evas_Textgrid_Palette |
pal_, |
|
|
int |
idx_, |
|
|
int * |
r_, |
|
|
int * |
g_, |
|
|
int * |
b_, |
|
|
int * |
a_ |
|
) |
| const |
|
inline |
The retrieve color to the given palette at the given index of the given textgrid object.
This function retrieves the color for the palette of type pal at the index idx of the textgrid object obj. The ARGB components are stored in the buffers r, g, b and a. If idx is not between 0 and the index of the latest set color, or if pal is EVAS_TEXTGRID_PALETTE_NONE or EVAS_TEXTGRID_PALETTE_LAST, the values of the components are 0. r, g, b and a can be NULL.
- See also
- evas_object_textgrid_palette_set()
- Since
- 1.7
- Parameters
-
| pal | The type of the palette to set the color. |
| idx | The index of the palette to which the color is stored. |
| [out] | r | A pointer to the red component of the color. |
| [out] | g | A pointer to the green component of the color. |
| [out] | b | A pointer to the blue component of the color. |
| [out] | a | A pointer to the alpha component of the color. |
| void eo_cxx::evas::textgrid::cell_size_get |
( |
int * |
width_, |
|
|
int * |
height_ |
|
) |
| const |
|
inline |
Retrieve the size of a cell of the given textgrid object in pixels.
This functions retrieves the width and height, in pixels, of a cell of the textgrid object obj and store them respectively in the buffers width and height. Their value depends on the monospace font used for the textgrid object, as well as the style. width and height can be NULL. On error, they are set to 0.
- See also
- evas_object_textgrid_font_set()
-
evas_object_textgrid_supported_font_styles_set()
- Since
- 1.7
- Parameters
-
| width | A pointer to the location to store the width in pixels of a cell. |
| height | A pointer to the location to store the height in pixels of a cell. |