2008-12-17 15:59:43 +00:00
|
|
|
/*
|
2011-07-28 14:26:00 +00:00
|
|
|
* Copyright 2006 The Android Open Source Project
|
2008-12-17 15:59:43 +00:00
|
|
|
*
|
2011-07-28 14:26:00 +00:00
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
2008-12-17 15:59:43 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef Sk2DPathEffect_DEFINED
|
|
|
|
#define Sk2DPathEffect_DEFINED
|
|
|
|
|
2019-04-23 17:05:21 +00:00
|
|
|
#include "include/core/SkPathEffect.h"
|
2008-12-17 15:59:43 +00:00
|
|
|
|
2021-05-20 19:16:34 +00:00
|
|
|
class SkMatrix;
|
|
|
|
class SkPath;
|
2008-12-17 15:59:43 +00:00
|
|
|
|
2021-05-20 19:16:34 +00:00
|
|
|
class SK_API SkLine2DPathEffect {
|
2012-09-12 18:53:49 +00:00
|
|
|
public:
|
2021-05-20 19:16:34 +00:00
|
|
|
static sk_sp<SkPathEffect> Make(SkScalar width, const SkMatrix& matrix);
|
2012-09-12 18:53:49 +00:00
|
|
|
|
2021-05-20 19:16:34 +00:00
|
|
|
static void RegisterFlattenables();
|
2012-09-12 18:53:49 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 19:16:34 +00:00
|
|
|
class SK_API SkPath2DPathEffect {
|
2011-08-09 18:47:40 +00:00
|
|
|
public:
|
2021-05-20 19:16:34 +00:00
|
|
|
static sk_sp<SkPathEffect> Make(const SkMatrix& matrix, const SkPath& path);
|
2011-08-09 18:47:40 +00:00
|
|
|
|
2021-05-20 19:16:34 +00:00
|
|
|
static void RegisterFlattenables();
|
2011-08-09 18:47:40 +00:00
|
|
|
};
|
|
|
|
|
2008-12-17 15:59:43 +00:00
|
|
|
#endif
|