Skia
2D Graphics Library
SkBlurMaskFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright 2006 The Android Open Source Project
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 SkBlurMaskFilter_DEFINED
9 #define SkBlurMaskFilter_DEFINED
10 
11 // we include this since our callers will need to at least be able to ref/unref
14 #include "include/core/SkRect.h"
15 #include "include/core/SkScalar.h"
16 
17 class SkRRect;
18 
19 class SK_API SkBlurMaskFilter {
20 public:
21 #ifdef SK_SUPPORT_LEGACY_EMBOSSMASKFILTER
30  static sk_sp<SkMaskFilter> MakeEmboss(SkScalar blurSigma, const SkScalar direction[3],
31  SkScalar ambient, SkScalar specular);
32 #endif
33 };
34 
35 #endif
float SkScalar
Definition: SkScalar.h:14
Definition: SkBlurMaskFilter.h:19
SkRRect describes a rounded rectangle with a bounds and a pair of radii for each corner.
Definition: SkRRect.h:35