Flutter Engine
The Flutter Engine
SkUnicode_client.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkUnicode_client_DEFINED
9#define SkUnicode_client_DEFINED
10
11#include "include/core/SkSpan.h"
13
14#include <memory>
15#include <vector>
16
20 std::vector<SkUnicode::Position> words,
21 std::vector<SkUnicode::Position> graphemeBreaks,
22 std::vector<SkUnicode::LineBreakBefore> lineBreaks);
23}
24
25#endif // SkUnicode_client_DEFINED
#define SKUNICODE_API
Definition: SkUnicode.h:39
std::u16string text
SKUNICODE_API sk_sp< SkUnicode > Make(SkSpan< char > text, std::vector< SkUnicode::Position > words, std::vector< SkUnicode::Position > graphemeBreaks, std::vector< SkUnicode::LineBreakBefore > lineBreaks)