projects
/
framework
/
osp
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e94539d
)
Add Floating Point revision to CanvasImpl::Construct
author
hoonik.lee
<hoonik.lee@samsung.com>
Fri, 29 Mar 2013 01:35:03 +0000
(10:35 +0900)
committer
hoonik.lee
<hoonik.lee@samsung.com>
Fri, 29 Mar 2013 02:19:46 +0000
(11:19 +0900)
Change-Id: I8f1857094b671bb453e7ee58be211ba69d283a4a
Signed-off-by: hoonik.lee <hoonik.lee@samsung.com>
src/graphics/FGrp_ResUtil.h
patch
|
blob
|
history
diff --git
a/src/graphics/FGrp_ResUtil.h
b/src/graphics/FGrp_ResUtil.h
index
3de7df3
..
60e1685
100755
(executable)
--- a/
src/graphics/FGrp_ResUtil.h
+++ b/
src/graphics/FGrp_ResUtil.h
@@
-1479,14
+1479,14
@@
struct CoordinateHolderSimple
inline int _FloatToIntForPos(float f)
{
- return static_cast<int>(floorf(f));
+ return static_cast<int>(floorf(f
+ 0.01f
));
}
inline int _FloatToIntForSize(float f)
{
if (f > 0.0f)
{
- int i = static_cast<int>(f);
+ int i = static_cast<int>(f
+ 0.01f
);
return (i > 0) ? i : 1;
}
else