Definition at line 99 of file SkUnicode_icu.cpp.
◆ SkBreakIterator_icu()
Definition at line 103 of file SkUnicode_icu.cpp.
104 : fBreakIterator(std::move(iter))
105 , fLastResult(0) {}
◆ current()
Position SkBreakIterator_icu::current |
( |
| ) |
|
|
inlineoverridevirtual |
◆ first()
◆ isDone()
bool SkBreakIterator_icu::isDone |
( |
| ) |
|
|
inlineoverridevirtual |
◆ next()
◆ setText() [1/2]
bool SkBreakIterator_icu::setText |
( |
const char |
utftext8[], |
|
|
int |
utf8Units |
|
) |
| |
|
inlineoverridevirtual |
Implements SkBreakIterator.
Definition at line 112 of file SkUnicode_icu.cpp.
112 {
113 UErrorCode
status = U_ZERO_ERROR;
115
118 return false;
119 }
121 sk_ubrk_setUText(fBreakIterator.get(),
text.get(), &
status);
124 return false;
125 }
126 fLastResult = 0;
127 return true;
128 }
std::unique_ptr< UText, SkFunctionObject< utext_close_wrapper > > ICUUText
◆ setText() [2/2]
bool SkBreakIterator_icu::setText |
( |
const char16_t |
utftext16[], |
|
|
int |
utf16Units |
|
) |
| |
|
inlineoverridevirtual |
Implements SkBreakIterator.
Definition at line 129 of file SkUnicode_icu.cpp.
129 {
130 UErrorCode
status = U_ZERO_ERROR;
131 ICUUText text(sk_utext_openUChars(
nullptr,
reinterpret_cast<const UChar*
>(&utftext16[0]),
133
136 return false;
137 }
139 sk_ubrk_setUText(fBreakIterator.get(),
text.get(), &
status);
142 return false;
143 }
144 fLastResult = 0;
145 return true;
146 }
◆ status()
Status SkBreakIterator_icu::status |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: