Lines Matching defs:close
143 // ending with close, so countVerbs needs to be checked against 0.
437 is a rectangle, though the caller failed to close the path.
752 SkPath& SkPath::close() {
768 // don't add a close if it's the first verb or a repeat
802 const int kVerbs = 5; // moveTo + 3x lineTo + close
811 this->close();
817 SkPath& SkPath::addPoly(const SkPoint pts[], int count, bool close) {
825 // +close makes room for the extra kClose_Verb
826 SkPathRef::Editor ed(&fPathRef, count+close, count);
834 if (close) {
959 ? 9 // moveTo + 4x conicTo + 3x lineTo + close
960 : 10; // moveTo + 4x lineTo + 4x conicTo + close
976 // final lineTo handled by close().
983 this->close();
1063 const int kVerbs = 6; // moveTo + 4x conicTo + close
1075 this->close();
1114 // close to 'pt' currently. This prevents spurious lineTos when adding a series of contiguous
1395 // fiddle with fLastMoveToIndex, as we do in SkPath::close()
1438 this->close();
1517 this->close();
1617 tmp.close();
1761 // Close the curve if requested and if there is some curve to close
1933 builder.append("path.close();\n");
1983 descSk.append("path.close();\n");
2187 bool close() {
2188 // If this was an explicit close, there was already a lineTo to fFirstPoint, so this
2320 // Accumulating points into the Convexicator until we hit a close or another move
2323 if (!state.close()) {
2348 if (needsClose && !state.close()) {
3282 path->close();
3623 // check if close generates diagonal