ded867f126
also simplify handling of implicit position at end of line. also simplfy move() operation. Change-Id: Ic242b5413c65295b1ac1bf7aa3a4948c3ed1c742 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/233303 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>
13 lines
460 B
C++
13 lines
460 B
C++
// Copyright 2019 Google LLC.
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
#ifndef word_boundaries_DEFINED
|
|
#define word_boundaries_DEFINED
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
// TODO: Decide if this functionality should be moved into SkShaper as an extra utility.
|
|
std::vector<bool> GetUtf8WordBoundaries(const char* begin, std::size_t byteLen, const char* locale);
|
|
|
|
#endif // word_boundaries_DEFINED
|