Flutter Engine
The Flutter Engine
third_party
skia
include
ports
SkImageGeneratorCG.h
Go to the documentation of this file.
1
/*
2
* Copyright 2016 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
#ifndef SkImageGeneratorCG_DEFINED
8
#define SkImageGeneratorCG_DEFINED
9
10
// This is needed as clients may override the target platform
11
// using SkUserConfig
12
#include "
include/private/base/SkLoadUserConfig.h
"
13
14
#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
15
16
#include "
include/core/SkData.h
"
17
#include "
include/core/SkImageGenerator.h
"
18
#include "
include/core/SkRefCnt.h
"
19
#include "
include/private/base/SkAPI.h
"
20
21
#include <memory>
22
23
namespace
SkImageGeneratorCG {
24
SK_API
std::unique_ptr<SkImageGenerator> MakeFromEncodedCG(
sk_sp<SkData>
);
25
}
// namespace SkImageGeneratorCG
26
27
#endif
// defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
28
#endif
// SkImageGeneratorCG_DEFINED
SkAPI.h
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkData.h
SkImageGenerator.h
SkLoadUserConfig.h
SkRefCnt.h
sk_sp< SkData >
Generated on Sun Jun 23 2024 21:56:03 for Flutter Engine by
1.9.4