X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fvisual-model.cpp;h=e7015e054b0953a188d7114db4525ea6bd9dd10d;hb=c68fbbaf5798dddf712b0b2ce8cfb1e807af2822;hp=55d87972420e22ddd14abcf1665af63a291d560b;hpb=fc2392c09ab526295f52c430ead7879e1e91a096;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/visual-model.cpp b/dali-toolkit/internal/text/visual-model.cpp index 55d8797..e7015e0 100644 --- a/dali-toolkit/internal/text/visual-model.cpp +++ b/dali-toolkit/internal/text/visual-model.cpp @@ -173,6 +173,14 @@ const GlyphInfo& VisualModel::GetGlyphInfo( GlyphIndex glyphIndex ) const return mImpl->mGlyphs[glyphIndex]; } +void VisualModel::ReplaceGlyphs( GlyphIndex glyphIndex, + Length numberOfGlyphsToRemove, + const GlyphInfo* const glyphs, + const Length* const numberOfCharacters, + Length numberOfGlyphsToInsert ) +{ +} + CharacterIndex VisualModel::GetCharacterIndex( GlyphIndex glyphIndex ) const { return mImpl->mGlyphsToCharacters[glyphIndex]; @@ -253,6 +261,13 @@ const Vector2& VisualModel::GetGlyphPosition( GlyphIndex glyphIndex ) const return *( mImpl->mGlyphPositions.Begin() + glyphIndex ); } +void VisualModel::ReplaceGlyphPositions( GlyphIndex glyphIndex, + Length numberOfGlyphsToRemove, + const Vector2* const positions, + Length numberOfGlyphsToInsert ) +{ +} + void VisualModel::SetLines( const LineRun* const lines, Length numberOfLines ) { @@ -366,6 +381,13 @@ void VisualModel::GetLinesOfGlyphRange( LineRun* lines, memcpy( lines, modelLines.Begin() + lineCache.firstLine, lineCache.numberOfLines * sizeof( LineRun ) ); } +void VisualModel::ReplaceLines( GlyphIndex glyphIndex, + Length numberOfGlyphsToRemove, + const LineRun* const lines, + Length numberOfGlyphsToInsert ) +{ +} + void VisualModel::SetNaturalSize( const Vector2& size ) { mImpl->mNaturalSize = size;