• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 Sk2DPathEffect_DEFINED
9 #define Sk2DPathEffect_DEFINED
10 
11 #include "include/core/SkPathEffect.h"
12 
13 class SkMatrix;
14 class SkPath;
15 
16 class SK_API SkLine2DPathEffect {
17 public:
18     static sk_sp<SkPathEffect> Make(SkScalar width, const SkMatrix& matrix);
19 
20     static void RegisterFlattenables();
21 };
22 
23 class SK_API SkPath2DPathEffect {
24 public:
25     static sk_sp<SkPathEffect> Make(const SkMatrix& matrix, const SkPath& path);
26 
27     static void RegisterFlattenables();
28 };
29 
30 #endif
31