1 This page guides a format for your contribution.
4 [Module][Feature] - [Title]
9 - [Module] is a sub module majorly affected by your change. Most of times this indicates a sub folder name.
10 This indicates whom need to review your patch as well.
11 If your change don't belonged to any sub modules, you can replace with proper name or skip it.
12 The name must be written in all lower alphabet characters.
13 - ex) build / doc / infra / common / sw_engine / gl_engine / svg_loader / examples / wasm / svg2png ...
15 - [Feature] is what major function/feature you changed. Normally this indicates a representive file name.
16 You can keep the file name, but don't please contain any prefix(tvg) nor suffix(Impl) here.
17 - ex) Canvas / TaskScehduler / SvgLoader / SvgBuilder / SwRle / GlRenderer / ...
19 - [Title] is a brief description of your change. It must be described in one sentence.
21 - ex) "Fixed compile warnings"
22 - ex) "Code refactoring"
23 - ex) "Fixed a rendering bug that overlapped shapes inproper way."
25 - [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.
27 If you fixed any bugs, it must contain below:
29 - conditions to reproduce it
33 Or if you add a new feature or function, it must contain below:
34 - what sort of features
35 - api full specification (if any api additions)
37 - condition / restriction
40 Lastly, please append any issue ticket numbers in this section if any.
42 - ex) common composite: newly added path clipping feature
44 We introduced new method Paint::composite() to support composite behaviors. </br>
45 This allows paints to composite with other paints instances. </br>
46 Composite behaviors depends on its compoite method type. </br>
47 Here we firstly introduced "ClipPath" method to support clipping by path unit of paint.</br>
49 tagetPaint->composite(srcPaint, CompoisiteMethod::ClipPath);</br>
51 Beaware if the source paint doesn't contain any path info, clipping won't be applied as you expected.
54 enum CompositeMethod {None = 0, ClipPath}; </br>
55 Result Paint::composite(std::unique_ptr<Paint> target, CompMethod method) const noexcept;</br>
57 @Examples: added ClipPath</br>