Skia
2D Graphics Library
SkDashPathEffect.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 SkDashPathEffect_DEFINED
9 #define SkDashPathEffect_DEFINED
10 
11 #include "include/core/SkRefCnt.h"
12 #include "include/core/SkScalar.h"
13 #include "include/core/SkTypes.h"
14 
15 class SkPathEffect;
16 
17 class SK_API SkDashPathEffect {
18 public:
40  static sk_sp<SkPathEffect> Make(const SkScalar intervals[], int count, SkScalar phase);
41 };
42 
43 #endif
float SkScalar
Definition: SkScalar.h:14
Definition: SkDashPathEffect.h:17
static sk_sp< SkPathEffect > Make(const SkScalar intervals[], int count, SkScalar phase)
intervals: array containing an even number of entries (>=2), with the even indices specifying the len...
SkPathEffect is the base class for objects in the SkPaint that affect the geometry of a drawing primi...
Definition: SkPathEffect.h:28