1 We always appreciate your contribution. This page guides ThorVG contribution format.
4 Hermet Park (hermet) is the lead maintainer but there are designated sub-module maintainers you can request for your pull-requst patches as well.
6 <b>common:</b> JunsuChoi (JSUYA) <br />
7 <b>sw_engine:</b> Mira Grudzinska (mgrudzinska) <br />
8 <b>gl_engine:</b> Prudhvi Raj Vasireddi (prudhvirajv)<br />
9 <b>loaders:</b> JunsuChoi (JSUYA), Mira Grudzinska (mgrudzinska) <br />
10 <b>wasm:</b> Shinwoo Kim (kimcinoo) <br />
11 <b>svg2png:</b> JunsuChoi (JSUYA) <br />
12 <b>capi:</b> Michal Szczecinski (mihashco), Mira Grudzinska (mgrudzinska) <br />
15 ## Self Test & Verification
16 After updated ThorVG code, please verify your change doesn't break the library. We suggests a unit-tests using Catch2 frameworks. You can easily run the Unit Tests with build commands as the following: <br />
19 $meson . build -Dtests=true
27 Please make it sure running all tests and no any Fail cases.<br/>
31 Unexpected Pass: 0<br/>
36 [Module][Feature]: [Title]
40 - [Module] is a sub module majorly affected by your change. Most of times this indicates a sub folder name.
41 This indicates whom need to review your patch as well.
42 If your change don't belonged to any sub modules, you can replace with proper name or skip it.
43 The name must be written in all lower alphabet characters.
44 - ex) build / doc / infra / common / sw_engine / gl_engine / svg_loader / examples / wasm / svg2png ...
46 - [Feature] is what major function/feature you changed. Normally this indicates a representive file name.
47 You can keep the file name, but don't please contain any prefix(tvg) nor suffix(Impl) here.
48 - ex) Canvas / TaskScehduler / SvgLoader / SvgBuilder / SwRle / GlRenderer / ...
50 - [Title] is a brief description of your change. It must be described in one sentence.
52 - ex) "Fixed compile warnings"
53 - ex) "Code refactoring"
54 - ex) "Fixed a rendering bug that overlapped shapes inproper way."
56 - [Description] There is no any strict formats, but it must describe what you did in this patch as far as possible you can describe in detail.
58 If you fixed any bugs, it must contain below:
60 - conditions to reproduce it
64 Or if you add a new feature or function, it must contain below:
65 - what sort of features
66 - api full specification (if any api additions)
68 - condition / restriction
71 Lastly, please append any issue ticket numbers in this section if any.
74 - Here is a overall commit message what we expect to review:
76 - common composite: newly added path clipping feature
78 We introduced new method Paint::composite() to support composite behaviors. </br>
79 This allows paints to composite with other paints instances. </br>
80 Composite behaviors depend on its composite method type. </br>
81 Here we firstly introduced "ClipPath" method to support clipping by path unit of paint.</br>
83 tagetPaint->composite(srcPaint, CompositeMethod::ClipPath);</br>
85 Beaware if the source paint doesn't contain any path info, clipping won't be applied as you expected.
88 enum CompositeMethod {None = 0, ClipPath}; </br>
89 Result Paint::composite(std::unique_ptr<Paint> target, CompositeMethod method) const noexcept;</br>
91 @Examples: added ClipPath</br>
93 @References: any links to the references such as screenshot images.
100 Once you submitted a pull request(PR), please make it sure below check list.
101 - Reviewers: Check Reviewers List
103 - Labels: Patch Purpose
104 - CODING STYLE CHECK: Must be perfect
105 <p align="center"><img width="1000" height="733" src="https://github.com/Samsung/thorvg/blob/master/res/contribution.png"></p>