Home
last modified time | relevance | path

Searched refs:asLine (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/gpu/ops/
DGrDashLinePathRenderer.cpp20 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/
DGrDashLinePathRenderer.cpp20 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) { in onCanDrawPath()
52 SkAssertResult(args.fShape->asLine(pts, nullptr)); in onDrawPath()
/external/skqp/tests/
DGrShapeTest.cpp210 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/
DGrShapeTest.cpp210 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/skqp/src/gpu/
DGrShape.h186 bool asLine(SkPoint pts[2], bool* inverted) const { in asLine() function
DGrShape.cpp334 if (parent.asLine(nullptr, nullptr)) { in setInheritedKey()
/external/skia/src/gpu/
DGrShape.h186 bool asLine(SkPoint pts[2], bool* inverted) const { in asLine() function
DGrShape.cpp334 if (parent.asLine(nullptr, nullptr)) { in setInheritedKey()