Review URL: https://codereview.appspot.com/6181044

git-svn-id: http://skia.googlecode.com/svn/trunk@3829 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
epoger@google.com 2012-05-03 14:02:17 +00:00
parent fd6daf5ed7
commit 58b8d4a7a8
3 changed files with 1 additions and 14 deletions

View File

@ -133,6 +133,7 @@
'../src/core/SkSpriteBlitterTemplate.h',
'../src/core/SkStream.cpp',
'../src/core/SkString.cpp',
'../src/core/SkStroke.h',
'../src/core/SkStroke.cpp',
'../src/core/SkStrokerPriv.cpp',
'../src/core/SkStrokerPriv.h',
@ -213,7 +214,6 @@
'../include/core/SkShader.h',
'../include/core/SkStream.h',
'../include/core/SkString.h',
'../include/core/SkStroke.h',
'../include/core/SkTArray.h',
'../include/core/SkTDArray.h',
'../include/core/SkTDStack.h',

View File

@ -653,12 +653,3 @@ void SkStroke::strokePath(const SkPath& src, SkPath* dst) const {
}
}
void SkStroke::strokeLine(const SkPoint& p0, const SkPoint& p1,
SkPath* dst) const {
SkPath tmp;
tmp.moveTo(p0);
tmp.lineTo(p1);
this->strokePath(tmp, dst);
}

View File

@ -40,10 +40,6 @@ public:
bool getDoFill() const { return SkToBool(fDoFill); }
void setDoFill(bool doFill) { fDoFill = SkToU8(doFill); }
void strokeLine(const SkPoint& start, const SkPoint& end, SkPath*) const;
void strokeRect(const SkRect& rect, SkPath*) const;
void strokeOval(const SkRect& oval, SkPath*) const;
void strokeRRect(const SkRect& rect, SkScalar rx, SkScalar ry, SkPath*) const;
void strokePath(const SkPath& path, SkPath*) const;
////////////////////////////////////////////////////////////////