Home
last modified time | relevance | path

Searched refs:forceClosed (Results 1 – 17 of 17) sorted by relevance

/third_party/flutter/skia/src/core/
DSkPathMeasure.cpp13 SkPathMeasure::SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale) in SkPathMeasure() argument
14 : fIter(path, forceClosed, resScale) in SkPathMeasure()
21 void SkPathMeasure::setPath(const SkPath* path, bool forceClosed) { in setPath() argument
22 fIter.reset(path ? *path : SkPath(), forceClosed); in setPath()
DSkContourMeasure.cpp445 SkContourMeasureIter::SkContourMeasureIter(const SkPath& path, bool forceClosed, in SkContourMeasureIter() argument
449 fForceClosed = forceClosed; in SkContourMeasureIter()
458 void SkContourMeasureIter::reset(const SkPath& path, bool forceClosed, SkScalar resScale) { in reset() argument
464 fForceClosed = forceClosed; in reset()
/third_party/skia/src/core/
DSkPathMeasure.cpp13 SkPathMeasure::SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale) in SkPathMeasure() argument
14 : fIter(path, forceClosed, resScale) in SkPathMeasure()
21 void SkPathMeasure::setPath(const SkPath* path, bool forceClosed) { in setPath() argument
22 fIter.reset(path ? *path : SkPath(), forceClosed); in setPath()
DSkContourMeasure.cpp177 Impl(const SkPath& path, bool forceClosed, SkScalar resScale) in Impl() argument
181 , fForceClosed(forceClosed) {} in Impl()
477 SkContourMeasureIter::SkContourMeasureIter(const SkPath& path, bool forceClosed, in SkContourMeasureIter() argument
479 this->reset(path, forceClosed, resScale); in SkContourMeasureIter()
486 void SkContourMeasureIter::reset(const SkPath& path, bool forceClosed, SkScalar resScale) { in reset() argument
488 fImpl = std::make_unique<Impl>(path, forceClosed, resScale); in reset()
/third_party/flutter/skia/include/core/
DSkPathMeasure.h24 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
30 void setPath(const SkPath*, bool forceClosed);
DSkContourMeasure.h99 SkContourMeasureIter(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
107 void reset(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
/third_party/skia/include/core/
DSkPathMeasure.h24 SkPathMeasure(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
30 void setPath(const SkPath*, bool forceClosed);
DSkContourMeasure.h102 SkContourMeasureIter(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
110 void reset(const SkPath& path, bool forceClosed, SkScalar resScale = 1);
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpath_measure.cc41 bool forceClosed) { in Create() argument
48 std::make_unique<SkContourMeasureIter>(skPath, forceClosed, resScale); in Create()
Dpath_measure.h31 bool forceClosed);
/third_party/flutter/skia/tests/
DPathMeasureTest.cpp275 for (bool forceClosed : {false, true}) { in test_MLM_contours()
276 SkContourMeasureIter fact(path, forceClosed); in test_MLM_contours()
/third_party/skia/tests/
DPathMeasureTest.cpp276 for (bool forceClosed : {false, true}) { in test_MLM_contours()
277 SkContourMeasureIter fact(path, forceClosed); in test_MLM_contours()
/third_party/flutter/engine/flutter/testing/dart/
Dpath_test.dart132 // test with forceClosed
133 final PathMetrics simpleMetricsClosed = simpleHorizontalLine.computeMetrics(forceClosed: true);
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/
Dpath.dart87 ui.PathMetrics computeMetrics({bool forceClosed = false}) {
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dcanvas.dart2097 /// If `forceClosed` is set to true, the contours of the path will be measured
2099 PathMetrics computeMetrics({bool forceClosed = false}) {
2100 return PathMetrics._(this, forceClosed);
2195 PathMetrics._(Path path, bool forceClosed)
2196 : _iterator = PathMetricIterator._(PathMetric._(path, forceClosed));
2239 final bool forceClosed;
2242 PathMetric._(this.path, this.forceClosed);
2281 /// have been implied when using [Path.addRect]) or if `forceClosed` was
/third_party/flutter/engine/flutter/lib/ui/
Dpainting.dart2168 /// If `forceClosed` is set to true, the contours of the path will be measured
2170 PathMetrics computeMetrics({bool forceClosed = false}) {
2171 return PathMetrics._(this, forceClosed);
2238 PathMetrics._(Path path, bool forceClosed) :
2239 _iterator = PathMetricIterator._(_PathMeasure(path, forceClosed));
2293 /// have been implied when using [Path.addRect]) or if `forceClosed` was
2343 _PathMeasure(Path path, bool forceClosed) {
2345 _constructor(path, forceClosed);
2347 void _constructor(Path path, bool forceClosed) native 'PathMeasure_constructor';
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts3177 new (path: Path, forceClosed: boolean, resScale: number): ContourMeasureIter;