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