vg_load_svg: Implement ClipPath feature 89/245889/1
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 14 Oct 2020 10:16:53 +0000 (19:16 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Mon, 19 Oct 2020 06:52:53 +0000 (15:52 +0900)
commit9bdef60d308d7511ce4ba9723130b257b96dda77
tree9e0d9d83c1e53dffa2e49b6846b132f84b4d66be
parent7c4f1066139d3a0eb52c8882728cb74446b9cc76
vg_load_svg: Implement ClipPath feature

Summary:
Supports case of using style attribute for defined <clipPath> and node.
In SVG, <clipPath> can be used as a "clipPath" attribute or a style "clip-path".
If there is a clip-path node, save it as a composition node and
use composition method(matte_alpha) to compose it.

Below node types support clip-path.
<circle>
<ellipse>
<g>
<path>
<polygon>
<polyline>
<rect>

Test Plan:
Please see attached svg files
{F4026162}

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: #reviewers, #committers, cedric, herb, kimcinoo

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12179

Change-Id: I1e02b0405d32ebea4ba9b072586aaad7248ee598
src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
src/static_libs/vg_common/vg_common.h
src/static_libs/vg_common/vg_common_svg.c