| Index: src/core/SkPathBuilder.cpp
|
| diff --git a/src/core/SkPathBuilder.cpp b/src/core/SkPathBuilder.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cf87d7269034d658dc4bf9f6e8d72fea47d138ce
|
| --- /dev/null
|
| +++ b/src/core/SkPathBuilder.cpp
|
| @@ -0,0 +1,49 @@
|
| +/*
|
| + * Copyright 2015 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#include "SkPathBuilder.h"
|
| +
|
| +SkPathBuilder::SkPathBuilder() {
|
| + fCachedPath = NULL;
|
| +}
|
| +
|
| +SkPathBuilder::~SkPathBuilder() {
|
| + SkSafeUnref(fCachedPath);
|
| +}
|
| +
|
| +void SkPathBuilder::incReserve(int extraPtCount);
|
| +
|
| +void SkPathBuilder::moveTo(SkPoint pt) {
|
| +}
|
| +
|
| +void SkPathBuilder::lineTo(SkPoint pt) {
|
| +}
|
| +
|
| +void SkPathBuilder::quadTo(SkPoint pt1, SkPoint pt2) {
|
| +}
|
| +
|
| +void SkPathBuilder::conicTo(SkPoint pt1, SkPoint pt2, SkScalar w) {
|
| +}
|
| +
|
| +void SkPathBuilder::cubicTo(SkPoint pt1, SkPoint pt2, SkPoint pt3) {
|
| +}
|
| +
|
| +void SkPathBuilder::close() {
|
| +}
|
| +
|
| +void SkPathBuilder::addRectContour(const SkRect&, SkPathDirection dir = kCW_PathDirection);
|
| +void SkPathBuilder::addOvalContour(const SkRect&, SkPathDirection dir = kCW_PathDirection);
|
| +void SkPathBuilder::addRRectContour(const SkRRect&, SkPathDirection dir = kCW_PathDirection);
|
| +
|
| +private:
|
| + SkTDArray<SkPoint> fPts;
|
| + SkTDArray<char> fVerbs;
|
| + SkROPath* fCachedPath;
|
| +};
|
| +
|
| +
|
| +#endif
|
|
|