Revert "[Tizen] Add DALi Autofill implementation"
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / text-abstraction / bitmap-font.cpp
1 /*
2  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 // FILE HEADER
19 #include <dali/devel-api/text-abstraction/bitmap-font.h>
20
21 namespace Dali
22 {
23
24 namespace TextAbstraction
25 {
26
27 BitmapGlyph::BitmapGlyph()
28 : url{},
29   utf32{ 0u },
30   ascender{ 0.f },
31   descender{ 0.f }
32 {}
33
34 BitmapGlyph::BitmapGlyph( const std::string& url, GlyphIndex utf32, float ascender, float descender )
35 : url{ url },
36   utf32{ utf32 },
37   ascender{ ascender },
38   descender{ descender }
39 {}
40
41 BitmapGlyph::~BitmapGlyph()
42 {}
43
44 BitmapFont::BitmapFont()
45 : glyphs{},
46   name{},
47   ascender{ 0.f },
48   descender{ 0.f },
49   underlinePosition{ 0.f },
50   underlineThickness{ 1.f },
51   isColorFont{ false }
52 {}
53
54 BitmapFont::~BitmapFont()
55 {}
56
57 } // namespace TextAbstraction
58
59 } // namespace Dali
60