Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
TextPreshape.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 Google Inc.
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 SkottieTextPreshape_DEFINED
9#define SkottieTextPreshape_DEFINED
10
11#include <cstddef>
12
14
15class SkData;
16class SkFontMgr;
17class SkWStream;
18
19namespace skresources { class ResourceProvider; }
20namespace SkShapers { class Factory; }
21
22namespace skottie_utils {
23
24bool Preshape(const char* json, size_t size, SkWStream*,
25 const sk_sp<SkFontMgr>&,
28
29bool Preshape(const sk_sp<SkData>&, SkWStream*,
30 const sk_sp<SkFontMgr>&,
33
34} // namespace skottie_utils
35
36#endif // SkottieTextPreshape_DEFINED
SKSHAPER_API sk_sp< Factory > Factory()