blob: 8f8e9370be2f38dd387d4c3228a9e1977650c3d5 [file] [log] [blame]
// Copyright 2020 Google LLC.
#ifndef ParagraphUtil_DEFINED
#define ParagraphUtil_DEFINED
#include "include/core/SkString.h"
#include <string>
namespace skia {
namespace textlayout {
SkString SkStringFromU16String(const std::u16string& utf16text);
SkUnichar nextUtf8Unit(const char** ptr, const char* end);
bool isControl(SkUnichar utf8);
bool isWhitespace(SkUnichar utf8);
}
}
#endif