efl/src
abdulleh Ghujeh f6caca1d70 Efl Canvas Text : Modify Style Property
Summary:
This patch defines the way style property will work at canvas_text object

1- Changing canvas_text style property using Font/Format/Style interfaces or with efl_canvas_text style property are the same.
     Example:

```
efl_text_font_set(tb, "Arial", 30);
//is same as
efl_canvas_text_style_set(tb, "font=Arial font_size=30");

//which means calling
char * font;
int size;
int font_size;
efl_text_font_get(tb, &font, &size);
// calling this after any of the top two functions will return same result
```

2- style_get_property
     Will return string that contains full details about all the current applied style at canvas_text  level.

3- style_set_property
     Will only override passed styles and leave everything else as it is

```
efl_canvas_text_style_set(tb, "font=Arial");  // overrider font name to Arial and leave everthing else
efl_canvas_text_style_set(tb, "font_size=30");  // overrider font size to 30 and leave everthing else (font name will stay arial)
```

Reviewers: ali.alzyod, woohyun, tasn, segfaultxavi, bu5hm4n, zmike

Reviewed By: woohyun

Subscribers: zmike, bu5hm4n, segfaultxavi, a.srour, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10607
2019-11-28 13:14:15 +09:00
..
benchmarks benchmarks/eina: fix possible div by zero in ecore_hash 2019-10-18 13:29:07 -04:00
bin Efl Canvas Text : Modify Style Property 2019-11-28 13:14:15 +09:00
bindings csharp: Components enum are flags now. 2019-11-20 19:22:53 -03:00
edje_external
examples efl_ui_multi_selectable: clean this up 2019-11-25 13:31:24 +01:00
generic evas - rsvg loader - comment out deprecated func from rsvg we don't need 2019-09-16 01:47:05 +01:00
lib Efl Canvas Text : Modify Style Property 2019-11-28 13:14:15 +09:00
modules vector json: checking valid pointer before accessing it. 2019-11-21 17:28:54 +09:00
scripts pyolian: Add helper functions for simple scripts 2019-11-26 12:40:32 -03:00
static_libs evas json: up-to-date vector-tree logging. 2019-11-27 17:54:51 +09:00
tests Efl Canvas Text : Modify Style Property 2019-11-28 13:14:15 +09:00
wayland_protocol