Page MenuHomePhabricator

vg_load_svg: Implement ClipPath feature
ClosedPublic

Authored by jsuya on Tue, Oct 13, 7:03 PM.

Details

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

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jsuya created this revision.Tue, Oct 13, 7:03 PM
jsuya requested review of this revision.Tue, Oct 13, 7:03 PM
jsuya edited the test plan for this revision. (Show Details)Tue, Oct 13, 7:05 PM
jsuya updated this revision to Diff 31217.Tue, Oct 13, 7:07 PM

modify code

Hermet accepted this revision.Wed, Oct 14, 2:20 AM
This revision is now accepted and ready to land.Wed, Oct 14, 2:20 AM
This revision was automatically updated to reflect the committed changes.