| 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 SkShaper_skunicode_DEFINED |
| 9 |
#define SkShaper_skunicode_DEFINED |
| 10 |
|
| 11 |
#include "include/core/SkRefCnt.h" |
| 12 |
#include "modules/skshaper/include/SkShaper.h" |
| 13 |
|
| 14 |
#include <cstddef> |
| 15 |
#include <cstdint> |
| 16 |
#include <memory> |
| 17 |
|
| 18 |
class SkUnicode; |
| 19 |
|
| 20 |
namespace SkShapers::unicode { |
| 21 |
SKSHAPER_API std::unique_ptr<SkShaper::BiDiRunIterator> BidiRunIterator(sk_sp<SkUnicode> unicode, |
| 22 |
const char* utf8, |
| 23 |
size_t utf8Bytes, |
| 24 |
uint8_t bidiLevel); |
| 25 |
|
| 26 |
} // namespace SkShapers::unicode |
| 27 |
|
| 28 |
#endif |