1/*
2 * Copyright 2018 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 GrSDFMaskFilter_DEFINED
9#define GrSDFMaskFilter_DEFINED
10
11#include "include/core/SkMaskFilter.h"
12
13/** \class GrSDFMaskFilter
14
15 This mask filter converts an alpha mask to a signed distance field representation
16*/
17class GrSDFMaskFilter : public SkMaskFilter {
18public:
19 static sk_sp<SkMaskFilter> Make();
20};
21
22extern void gr_register_sdf_maskfilter_createproc();
23
24#endif
25