efl/src/tests/evas
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
..
dicts Evas textblock: fix wrong hyphenation issues with non UTF8 encoded dictionary 2018-05-06 12:01:41 +03:00
fonts evas - revert evas variation sequence support - out of bound accesses 2019-10-31 12:31:52 +00:00
images evas: add a test for loading Android 9patch file. 2019-07-12 09:54:24 -07:00
meshes evas: tests: convert man_mesh.obj from dos to unix line endings 2015-09-04 14:54:07 +02:00
efl_canvas_animation.c efl_canvas_animation: correctly handle double signness 2019-11-11 10:20:48 +01:00
efl_test_canvas.c efl/canvas: add Efl_Canvas.h 2019-09-30 10:33:24 +02:00
efl_test_canvas2.c efl/canvas: add Efl_Canvas.h 2019-09-30 10:33:24 +02:00
efl_test_canvas3.c efl/canvas: add Efl_Canvas.h 2019-09-30 10:33:24 +02:00
evas_suite.c efl_canvas_animation: correctly handle double signness 2019-11-11 10:20:48 +01:00
evas_suite.h efl_canvas_animation: correctly handle double signness 2019-11-11 10:20:48 +01:00
evas_test_callbacks.c evas/callbacks: emit hardcoded legacy smart callbacks always 2019-10-14 09:29:23 -04:00
evas_test_evasgl.c fix build. 2019-06-20 14:20:34 +02:00
evas_test_events.c evas test - use correct type for ptr type tracking called 2019-08-11 17:09:32 +01:00
evas_test_filters.c tests: fix warnings and undef ref on Windows (using meson :-) ) 2019-06-20 12:50:35 +01:00
evas_test_focus.c evas_events: fix wrong event listening 2019-06-28 09:03:14 +02:00
evas_test_image.c efl/image: rename "border" -> "border_insets" 2019-09-18 10:08:56 +02:00
evas_test_init.c tests: add instrumentation to existing tests to find slow tests 2018-04-05 11:10:25 +02:00
evas_test_mask.c efl.canvas.object: clip -> clipper && clipees -> clipped_objects 2019-02-27 13:17:37 -05:00
evas_test_matrix.c tests: add instrumentation to existing tests to find slow tests 2018-04-05 11:10:25 +02:00
evas_test_mesh.c tests/evas: prune directory scan in mesh loader/saver test 2019-10-30 08:49:11 -07:00
evas_test_new.c evas test - actually use result of add of rect obj for test 2018-11-09 11:43:59 +00:00
evas_test_object.c introduce efl_canvas_object_animation 2019-11-20 09:58:24 +01:00
evas_test_object_smart.c evas: restore legacy types which were defined to eo types 2019-03-08 12:06:24 -08:00
evas_test_render_engines.c tests: add evas render test for callbacks 2019-04-08 13:19:56 +09:00
evas_test_text.c evas: restore legacy types which were defined to eo types 2019-03-08 12:06:24 -08:00
evas_test_textblock.c Efl Canvas Text : Modify Style Property 2019-11-28 13:14:15 +09:00
evas_tests_helpers.h evas: add a test for loading Android 9patch file. 2019-07-12 09:54:24 -07:00
meson.build efl_canvas_animation: correctly handle double signness 2019-11-11 10:20:48 +01:00