Searched refs:asLine (Results 1 – 9 of 9) sorted by relevance
/external/skqp/src/gpu/ops/ |
D | GrDashLinePathRenderer.cpp | 20 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) { in onCanDrawPath() 52 SkAssertResult(args.fShape->asLine(pts, nullptr)); in onDrawPath()
|
/external/skia/src/gpu/ops/ |
D | GrDashLinePathRenderer.cpp | 20 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) { in onCanDrawPath() 55 SkAssertResult(args.fShape->asLine(pts, nullptr)); in onDrawPath()
|
/external/skqp/tests/ |
D | GrShapeTest.cpp | 210 REPORTER_ASSERT(r, a.asLine(pts, &invertedLine[0]) == b.asLine(pts + 2, &invertedLine[1])); in check_equivalence() 220 if (a.asLine(nullptr, nullptr)) { in check_equivalence() 1035 return shape.asLine(nullptr, nullptr) || shape.isEmpty(); in shape_known_not_to_have_joins() 1903 REPORTER_ASSERT(r, !fillAB.baseShape().asLine(nullptr, nullptr)); in DEF_TEST() 1910 REPORTER_ASSERT(r, !fillABInverted.baseShape().asLine(nullptr, nullptr)); in DEF_TEST() 1944 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted); in DEF_TEST() 1958 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST() 1960 REPORTER_ASSERT(r, hairlineAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST() 1962 REPORTER_ASSERT(r, dashAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST() 1964 REPORTER_ASSERT(r, dashBA.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | GrStyledShapeTest.cpp | 211 REPORTER_ASSERT(r, a.asLine(pts, &invertedLine[0]) == b.asLine(pts + 2, &invertedLine[1])); in check_equivalence() 221 if (a.asLine(nullptr, nullptr)) { in check_equivalence() 1045 return shape.asLine(nullptr, nullptr) || shape.isEmpty(); in shape_known_not_to_have_joins() 1919 REPORTER_ASSERT(r, !fillAB.baseShape().asLine(nullptr, nullptr)); in DEF_TEST() 1926 REPORTER_ASSERT(r, !fillABInverted.baseShape().asLine(nullptr, nullptr)); in DEF_TEST() 1960 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted); in DEF_TEST() 1974 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST() 1976 REPORTER_ASSERT(r, hairlineAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST() 1978 REPORTER_ASSERT(r, dashAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST() 1980 REPORTER_ASSERT(r, dashBA.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST() [all …]
|
/external/skia/src/gpu/geometry/ |
D | GrStyledShape.h | 160 bool asLine(SkPoint pts[2], bool* inverted) const;
|
D | GrStyledShape.cpp | 266 if (parent.asLine(nullptr, nullptr)) { in setInheritedKey() 507 bool GrStyledShape::asLine(SkPoint pts[2], bool* inverted) const { in asLine() function in GrStyledShape
|
/external/skqp/src/gpu/ |
D | GrShape.h | 186 bool asLine(SkPoint pts[2], bool* inverted) const { in asLine() function
|
D | GrShape.cpp | 334 if (parent.asLine(nullptr, nullptr)) { in setInheritedKey()
|
/external/skia/src/gpu/ |
D | GrSurfaceDrawContext.cpp | 1710 if (shape.asLine(linePts, &inverted) && !inverted && in drawSimpleShape()
|