Searched refs:forceClose (Results 1 - 4 of 4) sorted by relevance
/third_party/skia/docs/examples/ |
H A D | Path_Iter_isClosedContour.cpp | 7 for (bool forceClose : { false, true } ) { in REG_FIDDLE() 10 SkPath::Iter iter(path, forceClose); in REG_FIDDLE() 11 SkDebugf("without close(), forceClose is %s: isClosedContour returns %s\n", in REG_FIDDLE() 12 forceClose ? "true " : "false", iter.isClosedContour() ? "true" : "false"); in REG_FIDDLE() 14 iter.setPath(path, forceClose); in REG_FIDDLE() 15 SkDebugf("with close(), forceClose is %s: isClosedContour returns %s\n", in REG_FIDDLE() 16 forceClose ? "true " : "false", iter.isClosedContour() ? "true" : "false"); in REG_FIDDLE()
|
/third_party/skia/include/core/ |
H A D | SkPath.h | 1447 path. If forceClose is true, SkPath::Iter will add kLine_Verb and kClose_Verb after each 1451 @param forceClose true if open contours generate kClose_Verb 1456 Iter(const SkPath& path, bool forceClose); 1459 path. If forceClose is true, SkPath::Iter will add kLine_Verb and kClose_Verb after each 1463 @param forceClose true if open contours generate kClose_Verb 1467 void setPath(const SkPath& path, bool forceClose);
|
/third_party/skia/src/core/ |
H A D | SkPath.cpp | 132 The iterator does more cleanup, especially if forceClose == true 135 3. if we encounter Move without a preceeding Close, and forceClose is true, goto #2 1689 SkPath::Iter::Iter(const SkPath& path, bool forceClose) { in Iter() argument 1690 this->setPath(path, forceClose); in Iter() 1693 void SkPath::Iter::setPath(const SkPath& path, bool forceClose) { in setPath() argument 1703 fForceClose = SkToU8(forceClose); in setPath()
|
/third_party/skia/tests/ |
H A D | PathTest.cpp | 2922 const bool forceClose; in test_iter() member 2958 iter.setPath(p, gIterTests[i].forceClose); in test_iter()
|
Completed in 18 milliseconds