aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-09-15 12:53:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-15 12:53:07 -0700
commit435657fd62960ceffb1c3c63f63e836373560bc5 (patch)
tree5b89d11067dc1a7780ed3298c57d1fd614d572bf /src/effects
parent98ed7b6d01c16ad9ace652ec25861689d765d0b5 (diff)
Forward declare SkStrokeRec in SkPathEffect
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/Sk1DPathEffect.cpp1
-rw-r--r--src/effects/Sk2DPathEffect.cpp1
-rw-r--r--src/effects/SkDashPathEffect.cpp1
-rw-r--r--src/effects/SkDiscretePathEffect.cpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/effects/Sk1DPathEffect.cpp b/src/effects/Sk1DPathEffect.cpp
index d630a8ed6c..041886e1db 100644
--- a/src/effects/Sk1DPathEffect.cpp
+++ b/src/effects/Sk1DPathEffect.cpp
@@ -11,6 +11,7 @@
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
#include "SkPathMeasure.h"
+#include "SkStrokeRec.h"
bool Sk1DPathEffect::filterPath(SkPath* dst, const SkPath& src,
SkStrokeRec*, const SkRect*) const {
diff --git a/src/effects/Sk2DPathEffect.cpp b/src/effects/Sk2DPathEffect.cpp
index 1df69a51fc..7144526dd0 100644
--- a/src/effects/Sk2DPathEffect.cpp
+++ b/src/effects/Sk2DPathEffect.cpp
@@ -12,6 +12,7 @@
#include "SkWriteBuffer.h"
#include "SkPath.h"
#include "SkRegion.h"
+#include "SkStrokeRec.h"
Sk2DPathEffect::Sk2DPathEffect(const SkMatrix& mat) : fMatrix(mat) {
fMatrixIsInvertible = mat.invert(&fInverse);
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp
index 2927f970aa..6e10e5466d 100644
--- a/src/effects/SkDashPathEffect.cpp
+++ b/src/effects/SkDashPathEffect.cpp
@@ -10,6 +10,7 @@
#include "SkDashPathPriv.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
+#include "SkStrokeRec.h"
SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase)
: fPhase(0)
diff --git a/src/effects/SkDiscretePathEffect.cpp b/src/effects/SkDiscretePathEffect.cpp
index ac84a600e3..acde041298 100644
--- a/src/effects/SkDiscretePathEffect.cpp
+++ b/src/effects/SkDiscretePathEffect.cpp
@@ -11,6 +11,7 @@
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
#include "SkPathMeasure.h"
+#include "SkStrokeRec.h"
static void Perterb(SkPoint* p, const SkVector& tangent, SkScalar scale) {
SkVector normal = tangent;