2 * Copyright 2022 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef sktext_gpu_SDFMaskFilter_DEFINED
9 #define sktext_gpu_SDFMaskFilter_DEFINED
11 #include "include/core/SkMaskFilter.h"
13 namespace sktext::gpu {
15 /** \class SDFMaskFilter
17 This mask filter converts an alpha mask to a signed distance field representation
19 class SDFMaskFilter : public SkMaskFilter {
21 static sk_sp<SkMaskFilter> Make();
24 extern void register_sdf_maskfilter_createproc();
26 } // namespace sktext::gpu