X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fcolor-segmentation.h;h=0a816abf767ac736428db2d4fe695fd2c7d7f02c;hb=b498966b0fc8a3ed14ed20129fb20f2a66c75868;hp=9e52de1aea34df417adb508477cde88d61b56051;hpb=49fabc565606e00c95baacb41f009de2a532a4da;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/color-segmentation.h b/dali-toolkit/internal/text/color-segmentation.h index 9e52de1..0a816ab 100644 --- a/dali-toolkit/internal/text/color-segmentation.h +++ b/dali-toolkit/internal/text/color-segmentation.h @@ -38,15 +38,23 @@ class LogicalModel; /** * @brief Creates color glyph runs. * - * @param[in] characterColorRuns The color runs in characters (set in the mark-up string). + * @param[in] colorRuns The color runs in characters (set in the mark-up string). * @param[in] charactersToGlyph Conversion table from characters to glyphs. * @param[in] glyphsPerCharacter Table with the number of glyphs for each character. - * @param[out] glyphColorRuns The color runs in glyphs. + * @param[in] startCharacterIndex The character from where the text is shaped. + * @param[in] startGlyphIndex The glyph from where the text is shaped. + * @param[in] numberOfCharacters The number of characters to be shaped. + * @param[out] colors The vector of colors. + * @param[out] colorIndices Indices to the vector of colors. */ -void SetColorSegmentationInfo( const Vector& characterColorRuns, +void SetColorSegmentationInfo( const Vector& colorRuns, const Vector& charactersToGlyph, const Vector& glyphsPerCharacter, - Vector& glyphColorRuns ); + CharacterIndex startCharacterIndex, + GlyphIndex startGlyphIndex, + Length numberOfCharacters, + Vector& colors, + Vector& colorIndices ); } // namespace Text