Home
last modified time | relevance | path

Searched refs:asLine (Results 1 – 9 of 9) 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()
55 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/
DGrStyledShapeTest.cpp211 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/
DGrStyledShape.h160 bool asLine(SkPoint pts[2], bool* inverted) const;
DGrStyledShape.cpp266 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/
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/
DGrSurfaceDrawContext.cpp1710 if (shape.asLine(linePts, &inverted) && !inverted && in drawSimpleShape()