projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128ba64
)
paint: clip was substracted from the array for any composite method
author
Mira Grudzinska
<m.grudzinska@samsung.com>
Sun, 14 Mar 2021 20:50:00 +0000
(21:50 +0100)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Mon, 22 Mar 2021 01:28:37 +0000
(10:28 +0900)
Only ClipPath composite method should cause clips subtraction.
src/lib/tvgPaint.h
patch
|
blob
|
history
diff --git
a/src/lib/tvgPaint.h
b/src/lib/tvgPaint.h
index 8345e53dc033a478a57ea2ff49f26d1fe3415170..3cdbaccf0ed55f776e6b3cb1893cda1e72225ece 100644
(file)
--- a/
src/lib/tvgPaint.h
+++ b/
src/lib/tvgPaint.h
@@
-170,7
+170,7
@@
namespace tvg
edata = smethod->update(renderer, outTransform, opacity, clips, newFlag);
}
- if (cmpData) clips.pop();
+ if (cmpData
&& cmpMethod == CompositeMethod::ClipPath
) clips.pop();
return edata;
}