| OLD | NEW |
| (Empty) | |
| 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #include "SkPathBuilder.h" |
| 9 |
| 10 SkPathBuilder::SkPathBuilder() { |
| 11 fCachedPath = NULL; |
| 12 } |
| 13 |
| 14 SkPathBuilder::~SkPathBuilder() { |
| 15 SkSafeUnref(fCachedPath); |
| 16 } |
| 17 |
| 18 void SkPathBuilder::incReserve(int extraPtCount); |
| 19 |
| 20 void SkPathBuilder::moveTo(SkPoint pt) { |
| 21 } |
| 22 |
| 23 void SkPathBuilder::lineTo(SkPoint pt) { |
| 24 } |
| 25 |
| 26 void SkPathBuilder::quadTo(SkPoint pt1, SkPoint pt2) { |
| 27 } |
| 28 |
| 29 void SkPathBuilder::conicTo(SkPoint pt1, SkPoint pt2, SkScalar w) { |
| 30 } |
| 31 |
| 32 void SkPathBuilder::cubicTo(SkPoint pt1, SkPoint pt2, SkPoint pt3) { |
| 33 } |
| 34 |
| 35 void SkPathBuilder::close() { |
| 36 } |
| 37 |
| 38 void SkPathBuilder::addRectContour(const SkRect&, SkPathDirection dir = kCW_Path
Direction); |
| 39 void SkPathBuilder::addOvalContour(const SkRect&, SkPathDirection dir = kCW_Path
Direction); |
| 40 void SkPathBuilder::addRRectContour(const SkRRect&, SkPathDirection dir = kCW_Pa
thDirection); |
| 41 |
| 42 private: |
| 43 SkTDArray<SkPoint> fPts; |
| 44 SkTDArray<char> fVerbs; |
| 45 SkROPath* fCachedPath; |
| 46 }; |
| 47 |
| 48 |
| 49 #endif |
| OLD | NEW |