Index: src/gpu/GrStyle.h |
diff --git a/src/gpu/GrStyle.h b/src/gpu/GrStyle.h |
index cbaa50d9ef9b7d2f6d55036c8ff366a43a6ca7d7..51908344d4fd5fdb252252061e2e0d2e90ec40e3 100644 |
--- a/src/gpu/GrStyle.h |
+++ b/src/gpu/GrStyle.h |
@@ -115,6 +115,8 @@ public: |
SkPathEffect* pathEffect() const { return fPathEffect.get(); } |
+ bool hasPathEffect() const { return SkToBool(fPathEffect.get()); } |
+ |
bool hasNonDashPathEffect() const { return fPathEffect.get() && !this->isDashed(); } |
bool isDashed() const { return SkPathEffect::kDash_DashType == fDashInfo.fType; } |