/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
return mLogicalModel->mScriptRuns.Begin();
}
+Length Model::GetNumberOfCharacters() const
+{
+ return mLogicalModel->mText.Count();
+}
+
Length Model::GetNumberOfGlyphs() const
{
return mVisualModel->mGlyphs.Count();
mAlignmentOffset(0.0f),
mElideEnabled(false),
mIgnoreSpacesAfterText(true),
+ mRemoveFrontInset(true),
+ mRemoveBackInset(true),
mMatchLayoutDirection(DevelText::MatchLayoutDirection::INHERIT),
mEllipsisPosition(DevelText::EllipsisPosition::END)
{