diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-10 12:56:16 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-10 12:56:16 +0000 |
commit | 75a0972dd7d0dbc614b9fb81b4450a349c005325 (patch) | |
tree | 9146d1fbca0d01d00340f0c8fb0bc412850f0689 /include/core/SkPaint.h | |
parent | f1d88064bc56985f22f00a7ad7cf56f9fdceb80f (diff) |
move SkStrokePathEffect into hiding for now, as its functionality is rethought.
git-svn-id: http://skia.googlecode.com/svn/trunk@3890 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r-- | include/core/SkPaint.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index d660ff33ed..b4ea89413d 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -921,42 +921,5 @@ private: #endif }; -/////////////////////////////////////////////////////////////////////////////// - -#include "SkPathEffect.h" - -/** \class SkStrokePathEffect - - SkStrokePathEffect simulates stroking inside a patheffect, allowing the - caller to have explicit control of when to stroke a path. Typically this is - used if the caller wants to stroke before another patheffect is applied - (using SkComposePathEffect or SkSumPathEffect). -*/ -class SkStrokePathEffect : public SkPathEffect { -public: - SkStrokePathEffect(const SkPaint&); - SkStrokePathEffect(SkScalar width, SkPaint::Style, SkPaint::Join, - SkPaint::Cap, SkScalar miterLimit = -1); - - // overrides - virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width); - - SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStrokePathEffect) - -protected: - SkStrokePathEffect(SkFlattenableReadBuffer&); - virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; - -private: - SkScalar fWidth, fMiter; - uint8_t fStyle, fJoin, fCap; - - typedef SkPathEffect INHERITED; - - // illegal - SkStrokePathEffect(const SkStrokePathEffect&); - SkStrokePathEffect& operator=(const SkStrokePathEffect&); -}; - #endif |