Flutter Engine
The Flutter Engine
third_party
skia
src
text
gpu
SDFMaskFilter.h
Go to the documentation of this file.
1
/*
2
* Copyright 2022 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 sktext_gpu_SDFMaskFilter_DEFINED
9
#define sktext_gpu_SDFMaskFilter_DEFINED
10
11
#include "
include/core/SkTypes.h
"
12
13
#if !defined(SK_DISABLE_SDF_TEXT)
14
15
#include "
include/core/SkMaskFilter.h
"
16
#include "
include/core/SkRefCnt.h
"
17
18
namespace
sktext::gpu
{
19
20
/** \class SDFMaskFilter
21
22
This mask filter converts an alpha mask to a signed distance field representation
23
*/
24
class
SDFMaskFilter
:
public
SkMaskFilter
{
25
public
:
26
static
sk_sp<SkMaskFilter>
Make
();
27
};
28
29
}
// namespace sktext::gpu
30
31
#endif
// !defined(SK_DISABLE_SDF_TEXT)
32
33
#endif
SkMaskFilter.h
SkRefCnt.h
SkTypes.h
SkMaskFilter
Definition:
SkMaskFilter.h:27
sk_sp< SkMaskFilter >
sktext::gpu::SDFMaskFilter
Definition:
SDFMaskFilter.h:24
sktext::gpu::SDFMaskFilter::Make
static sk_sp< SkMaskFilter > Make()
Definition:
SDFMaskFilter.cpp:99
sktext::gpu
Definition:
SkCanvas.h:81
Generated on Sun Jun 23 2024 21:56:36 for Flutter Engine by
1.9.4