2 * Copyright (c) 2022 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 #include <dali-toolkit/devel-api/text/spans/bold-span.h>
21 #include <dali-toolkit/internal/text/spannable/spans/bold-span-impl.h>
30 BoldSpan BoldSpan::New()
32 return Internal::BoldSpan::New();
35 BoldSpan::BoldSpan() = default;
37 BoldSpan::BoldSpan(const BoldSpan& rhs) = default;
39 BoldSpan::BoldSpan(BoldSpan&& rhs) = default;
41 BoldSpan& BoldSpan::operator=(const BoldSpan& rhs) = default;
43 BoldSpan& BoldSpan::operator=(BoldSpan&& rhs) = default;
45 BoldSpan::~BoldSpan() = default;
47 BoldSpan::BoldSpan(Internal::BoldSpan* internal)
52 BoldSpan BoldSpan::DownCast(BaseHandle handle)
54 return BoldSpan(dynamic_cast<Dali::Toolkit::Text::Internal::BoldSpan*>(handle.GetObjectPtr()));
59 } // namespace Toolkit