Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
word_boundaries.h
Go to the documentation of this file.
1// Copyright 2019 Google LLC.
2// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3#ifndef word_boundaries_DEFINED
4#define word_boundaries_DEFINED
5
6#include <cstddef>
7#include <vector>
8
9// TODO: Decide if this functionality should be moved into SkShaper as an extra utility.
10std::vector<bool> GetUtf8WordBoundaries(const char* begin, std::size_t byteLen, const char* locale);
11
12#endif // word_boundaries_DEFINED
static const char * begin(const StringSlice &s)
Definition editor.cpp:252
std::vector< bool > GetUtf8WordBoundaries(const char *begin, std::size_t byteLen, const char *locale)