X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fbidirectional-support.h;h=054f50d8e85ed72c6761337040c860ac838bd26a;hb=8d0ccc12714da58e6e2c971188b221ed2158d658;hp=46c368e9a5c1e1dceaddb98d5618b23e929b9e87;hpb=b8da2e53925b9abb9fa362560069e8ca4aa62f81;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/bidirectional-support.h b/dali-toolkit/internal/text/bidirectional-support.h index 46c368e..054f50d 100644 --- a/dali-toolkit/internal/text/bidirectional-support.h +++ b/dali-toolkit/internal/text/bidirectional-support.h @@ -43,8 +43,8 @@ namespace Text * @param[in] startIndex The character from where the bidirectional info is set. * @param[in] numberOfCharacters The number of characters. * @param[out] bidirectionalInfo Vector with the bidirectional infor for each paragraph. - * @param[in] matchSystemLanguageDirection Whether match for system language direction or not. - * @param[in] layoutDirection The direction of the system language. + * @param[in] matchLayoutDirection Whether match for layout direction or not. + * @param[in] layoutDirection The direction of the layout. */ void SetBidirectionalInfo(const Vector& text, const Vector& scripts, @@ -52,8 +52,8 @@ void SetBidirectionalInfo(const Vector& text, CharacterIndex startIndex, Length numberOfCharacters, Vector& bidirectionalInfo, - bool matchSystemLanguageDirection = false, - Dali::LayoutDirection::Type layoutDirection = LayoutDirection::LEFT_TO_RIGHT); + bool matchLayoutDirection = false, + Dali::LayoutDirection::Type layoutDirection = LayoutDirection::LEFT_TO_RIGHT); /** * @brief Sets the visual to logical map table for a given line. @@ -63,6 +63,8 @@ void SetBidirectionalInfo(const Vector& text, * @param[in] bidiLineIndex Index to the line's bidirectional info. * @param[in] startIndex The character from where the bidirectional info is set. * @param[in] numberOfCharacters The number of characters. + * @param[in] startIndexInSecondHalfLine The character from where the bidirectional info is set for the second half of line.. + * @param[in] numberOfCharactersInSecondHalfLine The number of characters for the second half of line.. * @param[in] direction The direction of the line. */ void ReorderLine(const BidirectionalParagraphInfoRun& bidirectionalParagraphInfo, @@ -70,6 +72,8 @@ void ReorderLine(const BidirectionalParagraphInfoRun& bidirectionalParagraphInfo BidirectionalLineRunIndex bidiLineIndex, CharacterIndex startIndex, Length numberOfCharacters, + CharacterIndex startIndexInSecondHalfLine, + Length numberOfCharactersInSecondHalfLine, CharacterDirection direction); /**