Flutter Engine
The Flutter Engine
third_party
skia
modules
skunicode
include
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
"
12
#include "
modules/skunicode/include/SkUnicode.h
"
13
14
#include <memory>
15
#include <vector>
16
17
namespace
SkUnicodes::Client
{
18
SKUNICODE_API
sk_sp<SkUnicode>
Make
(
19
SkSpan<char>
text
,
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
SkSpan.h
SkUnicode.h
SKUNICODE_API
#define SKUNICODE_API
Definition:
SkUnicode.h:39
SkSpan
Definition:
SkSpan_impl.h:65
sk_sp< SkUnicode >
text
std::u16string text
Definition:
keyboard_unittests.cc:332
SkUnicodes::Client
Definition:
SkUnicode_client.h:17
SkUnicodes::Client::Make
SKUNICODE_API sk_sp< SkUnicode > Make(SkSpan< char > text, std::vector< SkUnicode::Position > words, std::vector< SkUnicode::Position > graphemeBreaks, std::vector< SkUnicode::LineBreakBefore > lineBreaks)
Definition:
SkUnicode_client.cpp:251
Generated on Sun Jun 23 2024 21:56:07 for Flutter Engine by
1.9.4