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:
37ea63a
)
common paint: fix a typo.
author
Hermet Park
<chuneon.park@samsung.com>
Fri, 19 Nov 2021 11:16:06 +0000
(20:16 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Mon, 22 Nov 2021 03:54:58 +0000
(12:54 +0900)
src/lib/tvgPaint.cpp
patch
|
blob
|
history
diff --git
a/src/lib/tvgPaint.cpp
b/src/lib/tvgPaint.cpp
index
e3d2342
..
609bfdb
100644
(file)
--- a/
src/lib/tvgPaint.cpp
+++ b/
src/lib/tvgPaint.cpp
@@
-78,7
+78,7
@@
static bool _compFastTrack(Paint* cmpTarget, const RenderTransform* pTransform,
viewport.x = static_cast<uint32_t>(x1);
viewport.y = static_cast<uint32_t>(y1);
viewport.w = static_cast<uint32_t>(x2 - x1 < 0 ? 0 : roundf(x2 - x1 + 0.5f));
- viewport.h = static_cast<uint32_t>(
x2 - x
1 < 0 ? 0 : roundf(y2 - y1 + 0.5f));
+ viewport.h = static_cast<uint32_t>(
y2 - y
1 < 0 ? 0 : roundf(y2 - y1 + 0.5f));
return true;
}