Merge branch 'devel/master' into sandbox/dkdk/tizen
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / text-abstraction / font-metrics.cpp
old mode 100755 (executable)
new mode 100644 (file)
index e192a44..a8f80df
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 namespace Dali
 {
-
 namespace TextAbstraction
 {
-
 FontMetrics::FontMetrics()
-: ascender{ 0.f },
-  descender{ 0.f },
-  height{ 0.f },
-  underlinePosition{ 0.f },
-  underlineThickness{ 0.f }
+: ascender{0.f},
+  descender{0.f},
+  height{0.f},
+  underlinePosition{0.f},
+  underlineThickness{0.f}
 {
 }
 
-FontMetrics::FontMetrics( float ascenderPixels,
-                          float descenderPixels,
-                          float heightPixels,
-                          float underlinePositionPixels,
-                          float underlineThicknessPixels )
-: ascender{ ascenderPixels },
-  descender{ descenderPixels },
-  height{ heightPixels },
-  underlinePosition{ underlinePositionPixels },
-  underlineThickness{ underlineThicknessPixels }
+FontMetrics::FontMetrics(float ascenderPixels,
+                         float descenderPixels,
+                         float heightPixels,
+                         float underlinePositionPixels,
+                         float underlineThicknessPixels)
+: ascender{ascenderPixels},
+  descender{descenderPixels},
+  height{heightPixels},
+  underlinePosition{underlinePositionPixels},
+  underlineThickness{underlineThicknessPixels}
 {
 }