X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fsegmentation.h;h=a60865aabe5e94368eb392c18ce650971decddd7;hp=4bbe5d58b4bb254efad7961bcca7c8cb99a0e6e3;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=fa2506d9a311dfa88be3d559004851f8a0717eb8 diff --git a/dali-toolkit/internal/text/segmentation.h b/dali-toolkit/internal/text/segmentation.h index 4bbe5d5..a60865a 100644 --- a/dali-toolkit/internal/text/segmentation.h +++ b/dali-toolkit/internal/text/segmentation.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_SEGMENTATION_H__ -#define __DALI_TOOLKIT_TEXT_SEGMENTATION_H__ +#ifndef DALI_TOOLKIT_TEXT_SEGMENTATION_H +#define DALI_TOOLKIT_TEXT_SEGMENTATION_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -45,9 +45,13 @@ class LogicalModel; * - 2 is a LINE_NO_BREAK. Text can't be broken into a new line. * * @param[in] text Vector of UTF-32 characters. + * @param[in] startIndex The character from where the break info is set. + * @param[in] numberOfCharacters The number of characters. * @param[out] lineBreakInfo The line break info */ void SetLineBreakInfo( const Vector& text, + CharacterIndex startIndex, + Length numberOfCharacters, Vector& lineBreakInfo ); /** @@ -57,9 +61,13 @@ void SetLineBreakInfo( const Vector& text, * - 1 is a WORD_NO_BREAK. Text can't be broken into a new word. * * @param[in] text Vector of UTF-32 characters. + * @param[in] startIndex The character from where the break info is set. + * @param[in] numberOfCharacters The number of characters. * @param[out] wordBreakInfo The word break info. */ void SetWordBreakInfo( const Vector& text, + CharacterIndex startIndex, + Length numberOfCharacters, Vector& wordBreakInfo ); } // namespace Text @@ -68,4 +76,4 @@ void SetWordBreakInfo( const Vector& text, } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_SEGMENTATION_H__ +#endif // DALI_TOOLKIT_TEXT_SEGMENTATION_H