Home
last modified time | relevance | path

Searched refs:isClosed (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/skia/gm/
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}) {
95 SkPath path0 = proc(p0, SK_ARRAY_COUNT(p0), isClosed);
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpath_measure.cc29 V(PathMeasure, isClosed) \
59 void CanvasPathMeasure::setPath(const CanvasPath* path, bool isClosed) { in setPath() argument
61 path_measure_->reset(skPath, isClosed); in setPath()
114 bool CanvasPathMeasure::isClosed(int contourIndex) { in isClosed() function in flutter::CanvasPathMeasure
117 return measures_[contourIndex]->isClosed(); in isClosed()
Dpath_measure.h33 void setPath(const CanvasPath* path, bool isClosed);
40 bool isClosed(int contourIndex);
/third_party/skia/docs/examples/
DPath_isRect.cpp10 bool isClosed; in draw() local
11 path.isRect(&rect, &isClosed, &direction) ? in draw()
13 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, isClosed ? "" : "not ", in draw()
/third_party/flutter/skia/docs/examples/
DPath_isRect.cpp10 bool isClosed; in draw() local
11 path.isRect(&rect, &isClosed, &direction) ? in draw()
13 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, isClosed ? "" : "not ", in draw()
/third_party/skia/tests/
DPathBuilderTest.cpp268 auto addpoly = [](const SkPoint pts[], int count, bool isClosed) { in DEF_TEST() argument
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}) { in DEF_TEST()
343 builder.addPolygon(pts, N, isClosed); // new-school way in DEF_TEST()
344 b.addPoly(pts, N, isClosed); // old-school way in DEF_TEST()
349 const int expected = isClosed ? ~lastMoveToIndex : lastMoveToIndex; in DEF_TEST()
/third_party/skia/src/gpu/
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()
/third_party/flutter/engine/flutter/testing/dart/
Dpath_test.dart121 expect(simpleHorizontalMetrics.iterator.current.isClosed, isFalse);
138 expect(simpleMetricsClosed.iterator.current.isClosed, isTrue);
176 test('PathMetrics can remember lengths and isClosed', () {
184 expect(metrics[0].isClosed, true);
188 expect(metrics[1].isClosed, false);
200 expect(firstMetric.isClosed, false);
208 expect(firstMetric.isClosed, false);
217 expect(newFirstMetric.isClosed, true);
/third_party/skia/src/pathops/
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()
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()
/third_party/flutter/skia/src/pathops/
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()
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()
/third_party/flutter/skia/src/gpu/
DGrTextureContext.cpp35 if (fOpList && !fOpList->isClosed()) { in validate()
61 if (!fOpList || fOpList->isClosed()) { in getOpList()
DGrRenderTask.h36 if (!this->isClosed()) { in makeClosed()
46 bool isClosed() const { return this->isSetFlag(kClosed_Flag); } in isClosed() function
DGrRenderTask.cpp114 SkASSERT(!this->isClosed()); in addDependency()
166 if (!fDependents[i]->isClosed()) { in closeThoseWhoDependOnMe()
/third_party/skia/src/core/
DSkPathMeasure.cpp42 bool SkPathMeasure::isClosed() { in isClosed() function in SkPathMeasure
43 return fContour && fContour->isClosed(); in isClosed()
/third_party/flutter/skia/src/core/
DSkPathMeasure.cpp42 bool SkPathMeasure::isClosed() { in isClosed() function in SkPathMeasure
43 return fContour && fContour->isClosed(); in isClosed()
/third_party/skia/include/core/
DSkContourMeasure.h54 bool isClosed() const { return fIsClosed; } in isClosed() function
83 SkScalar length, bool isClosed);
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()
/third_party/flutter/skia/include/core/
DSkContourMeasure.h54 bool isClosed() const { return fIsClosed; } in isClosed() function
83 SkScalar length, bool isClosed);
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp125 if (!fOpsTask || fOpsTask->isClosed()) { in getOpsTask()
128 SkASSERT(!fOpsTask->isClosed()); in getOpsTask()
146 if (fOpsTask && !fOpsTask->isClosed()) { in onValidate()
/third_party/flutter/skia/src/effects/
DSkDiscretePathEffect.cpp110 if (meas.isClosed()) { in onFilterPath()
126 if (meas.isClosed()) { in onFilterPath()
/third_party/skia/src/effects/
DSkDiscretePathEffect.cpp107 if (meas.isClosed()) { in onFilterPath()
123 if (meas.isClosed()) { in onFilterPath()
/third_party/gstreamer/gstplugins_base/tests/examples/gl/cocoa/
Dcocoa-videooverlay.m51 - (gboolean) isClosed; method
83 - (gboolean) isClosed { method
226 while (![window isClosed]) {
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dtest_compiler_test.dart67 expect(testCompiler.compilerController.isClosed, false);
69 expect(testCompiler.compilerController.isClosed, true);

12345