Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
modules
skottie
utils
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
13
#include "
include/core/SkRefCnt.h
"
14
15
class
SkData
;
16
class
SkFontMgr
;
17
class
SkWStream
;
18
19
namespace
skresources
{
class
ResourceProvider
; }
20
namespace
SkShapers
{
class
Factory
; }
21
22
namespace
skottie_utils
{
23
24
bool
Preshape(
const
char
* json,
size_t
size,
SkWStream
*,
25
const
sk_sp<SkFontMgr>
&,
26
const
sk_sp<SkShapers::Factory>
&,
27
const
sk_sp<skresources::ResourceProvider>
&);
28
29
bool
Preshape(
const
sk_sp<SkData>
&,
SkWStream
*,
30
const
sk_sp<SkFontMgr>
&,
31
const
sk_sp<SkShapers::Factory>
&,
32
const
sk_sp<skresources::ResourceProvider>
&);
33
34
}
// namespace skottie_utils
35
36
#endif
// SkottieTextPreshape_DEFINED
SkRefCnt.h
SkData
Definition
SkData.h:25
SkFontMgr
Definition
SkFontMgr.h:36
SkWStream
Definition
SkStream.h:218
sk_sp
Definition
SkRefCnt.h:220
skresources::ResourceProvider
Definition
SkResources.h:150
SkShapers::Primitive::Factory
SKSHAPER_API sk_sp< Factory > Factory()
Definition
SkShaper_factory.cpp:32
SkShapers
Definition
Skottie.h:39
skottie_utils
Definition
SkottieUtils.cpp:22
skresources
Definition
SlotManager.h:24
Generated on Fri Apr 26 2024 06:16:20 for Flutter Engine by
1.9.8