return mModel->GetLines();
}
-Length ViewModel::GetNumberOfScripts() const
-{
- return mModel->GetNumberOfScripts();
-}
-
-const ScriptRun* const ViewModel::GetScriptRuns() const
-{
- return mModel->GetScriptRuns();
-}
-
Length ViewModel::GetNumberOfGlyphs() const
{
if( mIsTextElided && mModel->IsTextElideEnabled() )
return mModel->GetDefaultColor();
}
-const Vector2& ViewModel::GetShadowOffset() const
-{
- return mModel->GetShadowOffset();
-}
-
-const Vector4& ViewModel::GetShadowColor() const
-{
- return mModel->GetShadowColor();
-}
-
-const Vector4& ViewModel::GetUnderlineColor() const
-{
- return mModel->GetUnderlineColor();
-}
-
-bool ViewModel::IsUnderlineEnabled() const
-{
- return mModel->IsUnderlineEnabled();
-}
-
-float ViewModel::GetUnderlineHeight() const
-{
- return mModel->GetUnderlineHeight();
-}
-
-Length ViewModel::GetNumberOfUnderlineRuns() const
-{
- return mModel->GetNumberOfUnderlineRuns();
-}
-
-void ViewModel::GetUnderlineRuns( GlyphRun* underlineRuns, UnderlineRunIndex index, Length numberOfRuns ) const
-{
- mModel->GetUnderlineRuns( underlineRuns, index, numberOfRuns );
-}
-
void ViewModel::ElideGlyphs()
{
mIsTextElided = false;