From 0aaa04cd476e96e724c0329f64d878e8a582305e Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 15 Oct 2020 12:14:50 +0900 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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