Home
last modified time | relevance | path

Searched refs:isClosed (Results 1 - 25 of 52) sorted by relevance

123

/third_party/skia/gm/
H A Dpatharcto.cpp60 static SkPath old_school_polygon(const SkPoint pts[], size_t count, bool isClosed) { in old_school_polygon() argument
62 path.addPoly(pts, count, isClosed); in old_school_polygon()
66 static SkPath new_school_polygon(const SkPoint pts[], size_t count, bool isClosed) { in new_school_polygon() argument
67 return SkPath::Polygon(pts, count, isClosed); in new_school_polygon()
91 for (bool isClosed : {false, true}) { in DEF_SIMPLE_GM()
95 SkPath path0 = proc(p0, SK_ARRAY_COUNT(p0), isClosed); in DEF_SIMPLE_GM()
/third_party/skia/docs/examples/
H A DPath_isRect.cpp10 bool isClosed; in REG_FIDDLE()
11 path.isRect(&rect, &isClosed, &direction) ? in REG_FIDDLE()
13 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, isClosed ? "" : "not ", in REG_FIDDLE()
/third_party/skia/tests/
H A DPathBuilderTest.cpp268 auto addpoly = [](const SkPoint pts[], int count, bool isClosed) { in DEF_TEST()
275 if (isClosed) { in DEF_TEST()
282 for (bool isClosed : {false, true}) { in DEF_TEST()
284 auto path0 = SkPathBuilder().addPolygon(pts, i, isClosed).detach(); in DEF_TEST()
285 auto path1 = addpoly(pts, i, isClosed); in DEF_TEST()
338 for (bool isClosed : {false, true}) {
343 builder.addPolygon(pts, N, isClosed); // new-school way
344 b.addPoly(pts, N, isClosed); // old-school way
349 const int expected = isClosed ? ~lastMoveToIndex : lastMoveToIndex;
/third_party/skia/src/gpu/
H A DGrRenderTask.cpp31 SkASSERT(this->isClosed()); in disown()
46 SkASSERT(this->isClosed()); in makeSkippable()
70 if (this->isClosed()) { in makeClosed()
132 SkASSERT(!this->isClosed()); in addDependency()
190 SkASSERT(!dependedOnTask || dependedOnTask->isClosed()); in addDependency()
298 SkASSERT(!this->isClosed()); in addTarget()
H A DGrDrawingManager.cpp562 SkASSERT(prior->isClosed() || prior == task); in getLastRenderTask()
646 SkASSERT(ddlTask->isClosed()); in createDDLTask()
656 SkASSERT(!fActiveOpsTask->isClosed()); in validate()
667 SkASSERT(isActiveResolveTask || isAtlas || fDAG[i]->isClosed()); in validate()
675 SkASSERT(!fDAG.back()->isClosed()); in validate()
676 } else if (fDAG.back()->isClosed()) { in validate()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/libs/
H A Ddlopen_nodelete.c9 void DlopenNodeleteSetIsClosedPtr(bool* isClosed) in DlopenNodeleteSetIsClosedPtr() argument
11 g_isClosed = isClosed; in DlopenNodeleteSetIsClosedPtr()
/third_party/skia/src/pathops/
H A DSkPathOpsSimplify.cpp49 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeWinding()
50 if (current->activeWinding(start, end) && !writer->isClosed()) { in bridgeWinding()
126 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeXor()
127 if (!writer->isClosed()) { in bridgeXor()
H A DSkPathOpsOp.cpp138 && !writer->isClosed()) { in bridgeOp()
142 if (!writer->isClosed()) { in bridgeOp()
163 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeOp()
164 if (current->activeWinding(start, end) && !writer->isClosed()) { in bridgeOp()
H A DSkPathWriter.h31 bool isClosed() const;
H A DSkPathWriter.cpp24 SkASSERT(this->isClosed()); in close()
96 if (this->isClosed()) { in finishContour()
112 bool SkPathWriter::isClosed() const { in isClosed() function in SkPathWriter
/third_party/skia/src/core/
H A DSkPathMeasure.cpp42 bool SkPathMeasure::isClosed() { in isClosed() function in SkPathMeasure
43 return fContour && fContour->isClosed(); in isClosed()
/third_party/node/deps/undici/src/lib/websocket/
H A Dutil.js32 function isClosed (ws) {
194 isClosed,
/third_party/skia/include/core/
H A DSkContourMeasure.h54 bool isClosed() const { return fIsClosed; } in isClosed() function in SkContourMeasure
83 SkScalar length, bool isClosed);
H A DSkPathBuilder.h200 SkPathBuilder& addPolygon(const SkPoint pts[], int count, bool isClosed);
201 SkPathBuilder& addPolygon(const std::initializer_list<SkPoint>& list, bool isClosed) { in addPolygon() argument
202 return this->addPolygon(list.begin(), SkToInt(list.size()), isClosed); in addPolygon()
H A DSkPathMeasure.h69 bool isClosed();
H A DSkPath.h81 static SkPath Polygon(const SkPoint pts[], int count, bool isClosed,
85 static SkPath Polygon(const std::initializer_list<SkPoint>& list, bool isClosed, in Polygon() argument
88 return Polygon(list.begin(), SkToInt(list.size()), isClosed, fillType, isVolatile); in Polygon()
1031 If false: rect, isClosed, and direction are unchanged.
1032 If true: rect, isClosed, and direction are written to if not nullptr.
1038 @param isClosed storage set to true if SkPath is closed; may be nullptr
1044 bool isRect(SkRect* rect, bool* isClosed = nullptr, SkPathDirection* direction = nullptr) const;
/third_party/skia/src/gpu/v1/
H A DSurfaceFillContext_v1.cpp129 if (!fOpsTask || fOpsTask->isClosed()) { in getOpsTask()
132 SkASSERT(!fOpsTask->isClosed()); in getOpsTask()
150 if (fOpsTask && !fOpsTask->isClosed()) { in onValidate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DDbgEntityHistoryCalculator.cpp61 !Entries.back().isClosed() && in startDbgValue()
88 assert(!isClosed() && "End index has already been set"); in endEntry()
328 assert(Ent.isDbgValue() && !Ent.isClosed()); in calculateDbgEntityHistory()
/third_party/skia/src/effects/
H A DSkDiscretePathEffect.cpp107 if (meas.isClosed()) {
123 if (meas.isClosed()) {
/third_party/node/lib/internal/streams/
H A Dutils.js221 function isClosed(stream) { function
317 isClosed,
H A Dend-of-stream.js32 isClosed,
140 let closed = isClosed(stream);
/third_party/skia/src/gpu/ops/
H A DAtlasRenderTask.cpp34 SkASSERT(!this->isClosed()); in addPath()
163 SkASSERT(!this->isClosed()); in addAtlasDrawOp()
H A DAtlasRenderTask.h46 SkASSERT(this->isClosed()); in instantiate()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
H A Dldso_dlopen_test.cpp254 bool isClosed = false; in HWTEST_F() local
255 fn(&isClosed); in HWTEST_F()
265 EXPECT_FALSE(isClosed); in HWTEST_F()
/third_party/skia/src/pdf/
H A DSkPDFUtils.cpp131 bool isClosed; // Both closure and direction need to be checked. in EmitPath() local
133 if (path.isRect(&rect, &isClosed, &direction) && in EmitPath()
134 isClosed && in EmitPath()

Completed in 14 milliseconds

123