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:
b4cf666
)
sw_engine: Fix build error (no match type)
16/234816/2
author
JunsuChoi
<jsuya.choi@samsung.com>
Fri, 29 May 2020 04:33:46 +0000
(13:33 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Fri, 29 May 2020 06:31:43 +0000
(15:31 +0900)
../src/lib/sw_engine/tvgSwStroke.cpp:282:72: error: no match for ‘operator<’ (operand types are ‘long int’ and ‘const SwPoint’)
if (border->ptsCnt > 0 && abs(diff.x) < EPSILON && abs(diff.y) < EPSILON) return;
Change-Id: I426f8980ba718e3dc908dc32a62fb897b5b5fbbf
src/lib/sw_engine/tvgSwStroke.cpp
patch
|
blob
|
history
diff --git
a/src/lib/sw_engine/tvgSwStroke.cpp
b/src/lib/sw_engine/tvgSwStroke.cpp
index
2f810a1
..
acaf2c6
100644
(file)
--- a/
src/lib/sw_engine/tvgSwStroke.cpp
+++ b/
src/lib/sw_engine/tvgSwStroke.cpp
@@
-269,7
+269,7
@@
static void _growBorder(SwStrokeBorder* border, uint32_t newPts)
static void _borderLineTo(SwStrokeBorder* border, SwPoint& to, bool movable)
{
- constexpr Sw
Point
EPSILON = 2;
+ constexpr Sw
Coord
EPSILON = 2;
assert(border && border->start >= 0);