зеркало из https://github.com/mozilla/moz-skia.git
recreate http://codereview.appspot.com/6131051/ in svn instead of git
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:
Родитель
fd6daf5ed7
Коммит
58b8d4a7a8
|
@ -133,6 +133,7 @@
|
||||||
'../src/core/SkSpriteBlitterTemplate.h',
|
'../src/core/SkSpriteBlitterTemplate.h',
|
||||||
'../src/core/SkStream.cpp',
|
'../src/core/SkStream.cpp',
|
||||||
'../src/core/SkString.cpp',
|
'../src/core/SkString.cpp',
|
||||||
|
'../src/core/SkStroke.h',
|
||||||
'../src/core/SkStroke.cpp',
|
'../src/core/SkStroke.cpp',
|
||||||
'../src/core/SkStrokerPriv.cpp',
|
'../src/core/SkStrokerPriv.cpp',
|
||||||
'../src/core/SkStrokerPriv.h',
|
'../src/core/SkStrokerPriv.h',
|
||||||
|
@ -213,7 +214,6 @@
|
||||||
'../include/core/SkShader.h',
|
'../include/core/SkShader.h',
|
||||||
'../include/core/SkStream.h',
|
'../include/core/SkStream.h',
|
||||||
'../include/core/SkString.h',
|
'../include/core/SkString.h',
|
||||||
'../include/core/SkStroke.h',
|
|
||||||
'../include/core/SkTArray.h',
|
'../include/core/SkTArray.h',
|
||||||
'../include/core/SkTDArray.h',
|
'../include/core/SkTDArray.h',
|
||||||
'../include/core/SkTDStack.h',
|
'../include/core/SkTDStack.h',
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -40,10 +40,6 @@ public:
|
||||||
bool getDoFill() const { return SkToBool(fDoFill); }
|
bool getDoFill() const { return SkToBool(fDoFill); }
|
||||||
void setDoFill(bool doFill) { fDoFill = SkToU8(doFill); }
|
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;
|
void strokePath(const SkPath& path, SkPath*) const;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
Загрузка…
Ссылка в новой задаче