blob: cc9cf4bd3d9bcbe660565f98556a3898ff4cbbe2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrSDFMaskFilter_DEFINED
#define GrSDFMaskFilter_DEFINED
#include "SkMaskFilter.h"
/** \class GrSDFMaskFilter
This mask filter converts an alpha mask to a signed distance field representation
*/
class SK_API GrSDFMaskFilter : public SkMaskFilter {
public:
static sk_sp<SkMaskFilter> Make();
};
extern void gr_register_sdf_maskfilter_createproc();
#endif
|