Home
last modified time | relevance | path

Searched refs:isLine (Results 1 - 17 of 17) sorted by relevance

/third_party/skia/experimental/graphite/src/geom/
H A DShape.h59 bool isLine() const { return fType == Type::kLine; } in isLine() function in skgpu::Shape
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/
H A DGrShape.h89 bool isLine() const { return this->type() == Type::kLine; } in isLine() function in GrShape
145 GrLineSegment& line() { SkASSERT(this->isLine()); return fLine; } in line()
146 const GrLineSegment& line() const { SkASSERT(this->isLine()); return fLine; } in line()
H A 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()
H A DGrShape.cpp68 } else if (fPath.isLine(pts)) { in simplifyPath()
208 if (!this->isLine()) { in simplifyLine()
/third_party/skia/docs/examples/
H A DPath_isLine.cpp9 if (path.isLine(line)) { in REG_FIDDLE()
/third_party/skia/src/gpu/
H A 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/
H A DSkDashPath.cpp162 if (srcPath.isLine(pts) && pts[0] == pts[1]) {
177 if (srcPath.isLine(pts)) {
224 if (rec->isHairlineStyle() || !src.isLine(fPts)) {
/third_party/skia/src/core/
H A 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);
H A DSkPath.cpp383 bool SkPath::isLine(SkPoint line[2]) const { in isLine() function in SkPath
/third_party/skia/src/effects/
H A DSkDashPathEffect.cpp187 if (!src.isLine(pts)) { in onAsPoints()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h402 /// isLine - Return true if the constraint is of kind Line.
405 bool isLine() const { return Kind == Line || Kind == Distance; } in isLine() function in llvm::DependenceInfo::Constraint
/third_party/skia/bench/
H A DDashBench.cpp109 if (!path.isLine(pts) || pts[0].fY != pts[1].fY) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp420 else if (isLine()) in dump()
482 if (X->isLine() && Y->isLine()) { in intersectConstraints()
564 // if (X->isLine() && Y->isPoint()) This case can't occur. 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/skia/include/core/
H A DSkPath.h402 bool isLine(SkPoint line[2]) const;
/third_party/skia/tests/
H A 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()
H A DGrStyledShapeTest.cpp452 return this->isUnclosedRect() || fPath.isLine(nullptr);
475 return fPath.isLine(nullptr) || fPath.isEmpty();
481 if (!fPath.isLine(pts)) { in isAxisAlignedLine()
/third_party/skia/src/gpu/v1/
H A DClipStack.cpp529 SkASSERT(!fShape.isPoint() && !fShape.isLine()); in simplify()

Completed in 39 milliseconds