1 | // Copyright 2020 Google LLC. |
---|---|
2 | #ifndef ParagraphUtil_DEFINED |
3 | #define ParagraphUtil_DEFINED |
4 | |
5 | #include "include/core/SkString.h" |
6 | #include <string> |
7 | |
8 | namespace skia { |
9 | namespace textlayout { |
10 | SkString SkStringFromU16String(const std::u16string& utf16text); |
11 | SkUnichar nextUtf8Unit(const char** ptr, const char* end); |
12 | bool isControl(SkUnichar utf8); |
13 | bool isWhitespace(SkUnichar utf8); |
14 | } // namespace textlayout |
15 | } // namespace skia |
16 | |
17 | #endif |
18 |