1 #ifndef __DALI_TEXT_ABSTRACTION_TEXT_TYPE_DEFINITIONS_H__
2 #define __DALI_TEXT_ABSTRACTION_TEXT_TYPE_DEFINITIONS_H__
5 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali/public-api/text-abstraction/text-abstraction.h>
33 typedef TextAbstraction::FontId FontId; ///< The unique identifier for a font face (generated by FontClient)
34 typedef TextAbstraction::PointSize26Dot6 PointSize26Dot6; ///< The point size in 26.6 fractional points
35 typedef TextAbstraction::FaceIndex FaceIndex; ///< Used with fonts which allow several font faces
36 typedef TextAbstraction::GlyphIndex GlyphIndex; ///< Uniquely identifies a glyph within a particular font
37 typedef TextAbstraction::Character Character; ///< A UTF-32 representation of a character
38 typedef TextAbstraction::GlyphInfo GlyphInfo; ///< The information describing a glyph (font ID, index, metrics)
39 typedef TextAbstraction::CharacterIndex CharacterIndex; ///< An index into an array of characters
40 typedef TextAbstraction::Length Length; ///< The length of an array
41 typedef TextAbstraction::BidiInfoIndex BidiInfoIndex; ///< Index to the bidirectional info for a paragraph.
43 typedef uint32_t GlyphIndex; ///< An index into an array of glyphs
47 } // namespace Toolkit
51 #endif // __DALI_TEXT_ABSTRACTION_TEXT_TYPE_DEFINITIONS_H__