X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-model.cpp;h=05cb4051d833c1e55a5c7c947398625eddb90849;hp=f158dae8752af397dbb6c69abb78b0c5a58c5801;hb=3a23cbcd64ab5780928e4a141e497242c9989110;hpb=b134e246fb1cd7d1f31f7cca5bfa33b6a559d7be diff --git a/dali-toolkit/internal/text/text-model.cpp b/dali-toolkit/internal/text/text-model.cpp index f158dae..05cb405 100644 --- a/dali-toolkit/internal/text/text-model.cpp +++ b/dali-toolkit/internal/text/text-model.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 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. @@ -102,6 +102,41 @@ const Vector4& Model::GetDefaultColor() const return mVisualModel->mTextColor; } +const Vector2& Model::GetShadowOffset() const +{ + return mVisualModel->mShadowOffset; +} + +const Vector4& Model::GetShadowColor() const +{ + return mVisualModel->mShadowColor; +} + +const Vector4& Model::GetUnderlineColor() const +{ + return mVisualModel->GetUnderlineColor(); +} + +bool Model::IsUnderlineEnabled() const +{ + return mVisualModel->IsUnderlineEnabled(); +} + +float Model::GetUnderlineHeight() const +{ + return mVisualModel->GetUnderlineHeight(); +} + +Length Model::GetNumberOfUnderlineRuns() const +{ + return mVisualModel->GetNumberOfUnderlineRuns(); +} + +void Model::GetUnderlineRuns( GlyphRun* underlineRuns, UnderlineRunIndex index, Length numberOfRuns ) const +{ + mVisualModel->GetUnderlineRuns( underlineRuns, index, numberOfRuns ); +} + Model::Model() : mLogicalModel(), mVisualModel(),