Home
last modified time | relevance | path

Searched refs:isLine (Results 1 – 25 of 31) sorted by relevance

12

/third_party/skia/experimental/graphite/src/geom/
DShape.h59 bool isLine() const { return fType == Type::kLine; } in isLine() function
105 float2 p0() const { SkASSERT(this->isLine()); return fRect.topLeft(); } in p0()
106 float2 p1() const { SkASSERT(this->isLine()); return fRect.botRight(); } in p1()
/third_party/skia/src/gpu/geometry/
DGrShape.h89 bool isLine() const { return this->type() == Type::kLine; } in isLine() function
145 GrLineSegment& line() { SkASSERT(this->isLine()); return fLine; } in line()
146 const GrLineSegment& line() const { SkASSERT(this->isLine()); return fLine; } in line()
DGrStyledShape.cpp74 SkASSERT((!original.fShape.isLine() && !original.fShape.isPoint()) || result.fShape.isEmpty()); in MakeFilled()
508 if (!fShape.isLine()) { in asLine()
658 if ((!fShape.isPoint() && !fShape.isLine()) || fStyle.hasNonDashPathEffect() || in simplifyStroke()
712 if (fShape.isLine() && fStyle.strokeRec().getJoin() == SkPaint::kRound_Join) { in simplifyStroke()
DGrShape.cpp68 } else if (fPath.isLine(pts)) { in simplifyPath()
208 if (!this->isLine()) { in simplifyLine()
/third_party/skia/docs/examples/
DPath_isLine.cpp9 if (path.isLine(line)) { in draw()
/third_party/flutter/skia/docs/examples/
DPath_isLine.cpp9 if (path.isLine(line)) { in draw()
/third_party/skia/src/gpu/
DGrSWMaskHelper.cpp103 if (shape.isEmpty() || shape.isLine() || shape.isPoint()) { in drawShape()
109 } else if (shape.isEmpty() || shape.isLine() || shape.isPoint()) { in drawShape()
/third_party/skia/src/utils/
DSkDashPath.cpp162 if (srcPath.isLine(pts) && pts[0] == pts[1]) { in cull_path()
177 if (srcPath.isLine(pts)) { in cull_path()
224 if (rec->isHairlineStyle() || !src.isLine(fPts)) { in init()
/third_party/flutter/skia/src/utils/
DSkDashPath.cpp161 if (srcPath.isLine(pts) && pts[0] == pts[1]) { in cull_path()
176 if (srcPath.isLine(pts)) { in cull_path()
222 if (rec->isHairlineStyle() || !src.isLine(fPts)) { in init()
/third_party/skia/src/core/
DSkStroke.cpp174 void close(bool isLine) { this->finishContour(true, isLine); } in close() argument
176 void done(SkPath* dst, bool isLine) { in done() argument
177 this->finishContour(false, isLine); in done()
276 void finishContour(bool close, bool isLine);
278 bool isLine);
/third_party/flutter/skia/src/core/
DSkStroke.cpp141 void close(bool isLine) { this->finishContour(true, isLine); } in close() argument
143 void done(SkPath* dst, bool isLine) { in done() argument
144 this->finishContour(false, isLine); in done()
243 void finishContour(bool close, bool isLine);
245 bool isLine);
/third_party/skia/src/effects/
DSkDashPathEffect.cpp187 if (!src.isLine(pts)) { in onAsPoints()
/third_party/flutter/skia/src/effects/
DSkDashPathEffect.cpp187 if (!src.isLine(pts)) { in onAsPoints()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDependenceAnalysis.h405 bool isLine() const { return Kind == Line || Kind == Distance; } in isLine() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp420 else if (isLine()) in dump()
482 if (X->isLine() && Y->isLine()) { in intersectConstraints()
565 assert(!(X->isLine() && Y->isPoint()) && "This case should never occur"); in intersectConstraints()
567 if (X->isPoint() && Y->isLine()) { in intersectConstraints()
3074 else if (Constraints[LI].isLine()) in propagate()
3227 else if (CurConstraint.isLine()) { in updateDirection()
/third_party/flutter/skia/bench/
DDashBench.cpp110 if (!path.isLine(pts) || pts[0].fY != pts[1].fY) { in handlePath()
/third_party/skia/bench/
DDashBench.cpp109 if (!path.isLine(pts) || pts[0].fY != pts[1].fY) { in handlePath()
/third_party/flutter/skia/include/core/
DSkPath.h419 bool isLine(SkPoint line[2]) const;
/third_party/skia/include/core/
DSkPath.h402 bool isLine(SkPoint line[2]) const;
/third_party/flutter/skia/tests/
DPathTest.cpp1754 REPORTER_ASSERT(reporter, !path.isLine(nullptr)); in test_isLine()
1759 REPORTER_ASSERT(reporter, !path.isLine(pts)); in test_isLine()
1769 REPORTER_ASSERT(reporter, !path.isLine(nullptr)); in test_isLine()
1770 REPORTER_ASSERT(reporter, !path.isLine(pts)); in test_isLine()
1780 REPORTER_ASSERT(reporter, path.isLine(nullptr)); in test_isLine()
1784 REPORTER_ASSERT(reporter, path.isLine(pts)); in test_isLine()
1789 REPORTER_ASSERT(reporter, !path.isLine(nullptr)); in test_isLine()
1790 REPORTER_ASSERT(reporter, !path.isLine(pts)); in test_isLine()
1796 REPORTER_ASSERT(reporter, !path.isLine(nullptr)); in test_isLine()
DGrShapeTest.cpp445 return this->isUnclosedRect() || fPath.isLine(nullptr); in fillChangesGeom()
468 return fPath.isLine(nullptr) || fPath.isEmpty(); in isNonPath()
474 if (!fPath.isLine(pts)) { in isAxisAlignedLine()
/third_party/skia/tests/
DPathTest.cpp1742 REPORTER_ASSERT(reporter, !path.isLine(nullptr)); in test_isLine()
1747 REPORTER_ASSERT(reporter, !path.isLine(pts)); in test_isLine()
1757 REPORTER_ASSERT(reporter, !path.isLine(nullptr)); in test_isLine()
1758 REPORTER_ASSERT(reporter, !path.isLine(pts)); in test_isLine()
1768 REPORTER_ASSERT(reporter, path.isLine(nullptr)); in test_isLine()
1772 REPORTER_ASSERT(reporter, path.isLine(pts)); in test_isLine()
1777 REPORTER_ASSERT(reporter, !path.isLine(nullptr)); in test_isLine()
1778 REPORTER_ASSERT(reporter, !path.isLine(pts)); in test_isLine()
1784 REPORTER_ASSERT(reporter, !path.isLine(nullptr)); in test_isLine()
DGrStyledShapeTest.cpp452 return this->isUnclosedRect() || fPath.isLine(nullptr); in fillChangesGeom()
475 return fPath.isLine(nullptr) || fPath.isEmpty(); in isNonPath()
481 if (!fPath.isLine(pts)) { in isAxisAlignedLine()
/third_party/flutter/skia/src/gpu/geometry/
DGrShape.cpp518 } else if (this->path().isLine(pts)) { in attemptToSimplifyPath()
/third_party/skia/src/gpu/v1/
DClipStack.cpp529 SkASSERT(!fShape.isPoint() && !fShape.isLine()); in simplify()

12