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 SkShaderMaskFilter_DEFINED 9 #define SkShaderMaskFilter_DEFINED 10 11 #include "SkMaskFilter.h" 12 13 class SkShader; 14 15 class SK_API SkShaderMaskFilter { 16 public: 17 static sk_sp<SkMaskFilter> Make(sk_sp<SkShader> shader); 18 19 private: 20 static void RegisterFlattenables(); 21 friend class SkFlattenable; 22 }; 23 24 #endif 25