summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_shape.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:31:53 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:31:53 +0200
commit9f8c35002b997760bf813ccde274305d1fcb3746 (patch)
treeed706372ea3f53e6b8e1bca84c73d7efde8fa25b /src/lib/evas/canvas/evas_vg_shape.c
parent59635cd4920ca5d0d53919a29cfaf065aad802ca (diff)
efl: add Efl.Gfx.Shape.append_rect following SVG specification.
SVG rectangle can have rounded corner.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_shape.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_shape.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_shape.c b/src/lib/evas/canvas/evas_vg_shape.c
index 392d298..c158480 100644
--- a/src/lib/evas/canvas/evas_vg_shape.c
+++ b/src/lib/evas/canvas/evas_vg_shape.c
@@ -526,6 +526,12 @@ evas_vg_shape_shape_append_circle(Eo *obj, double x, double y, double radius)
526} 526}
527 527
528EAPI void 528EAPI void
529evas_vg_shape_shape_append_rect(Eo *obj, double x, double y, double w, double h, double rx, double ry)
530{
531 eo_do(obj, efl_gfx_shape_append_rect(x, y, w, h, rx, ry));
532}
533
534EAPI void
529evas_vg_shape_shape_append_svg_path(Eo *obj, const char *svg_path_data) 535evas_vg_shape_shape_append_svg_path(Eo *obj, const char *svg_path_data)
530{ 536{
531 eo_do(obj, efl_gfx_shape_append_svg_path(svg_path_data)); 537 eo_do(obj, efl_gfx_shape_append_svg_path(svg_path_data));