diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 889f93c4..2165d577 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,13 +49,13 @@ You can keep the file name, but don't please contain any prefix(tvg) nor suffix( Composite behaviors depends on its compoite method type.
Here we firstly introduced "ClipPath" method to support clipping by path unit of paint.
- tagetPaint->composite(srcPaint, CompoisiteMethod::ClipPath);
+ tagetPaint->composite(srcPaint, CompositeMethod::ClipPath);
Beaware if the source paint doesn't contain any path info, clipping won't be applied as you expected. @API Additions:
enum CompositeMethod {None = 0, ClipPath};
- Result Paint::composite(std::unique_ptr target, CompMethod method) const noexcept;
+ Result Paint::composite(std::unique_ptr target, CompositeMethod method) const noexcept;
@Examples: added ClipPath