#define DALI_TEXT_ABSTRACTION_FONT_METRICS_H
/*
- * Copyright (c) 2019 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
{
-
/**
* The metrics for a Font expressed in pixels.
*/
/**
* @brief Create the font metrics in pixels.
*/
- FontMetrics( float ascenderPixels,
- float descenderPixels,
- float heightPixels,
- float underlinePositionPixels,
- float underlineThicknessPixels );
-
- float ascender; ///< The ascender in pixels.
- float descender; ///< The descender in pixels.
- float height; ///< The height in pixels.
- float underlinePosition; ///< The underline position in pixels.
- float underlineThickness; ///< The vertical height of the underline in pixels.
+ FontMetrics(float ascenderPixels,
+ float descenderPixels,
+ float heightPixels,
+ float underlinePositionPixels,
+ float underlineThicknessPixels);
+
+ float ascender; ///< The ascender in pixels.
+ float descender; ///< The descender in pixels.
+ float height; ///< The height in pixels.
+ float underlinePosition; ///< The underline position in pixels.
+ float underlineThickness; ///< The vertical height of the underline in pixels.
};
-} // Dali
+} // namespace TextAbstraction
-} // TextAbstraction
+} // namespace Dali
#endif //DALI_TEXT_ABSTRACTION_FONT_METRICS_H