Home
last modified time | relevance | path

Searched refs:isOval (Results 1 – 25 of 38) sorted by relevance

12

/external/skqp/include/private/
DSkPathRef.h103 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
104 fPathRef->setIsOval(isOval, isCCW, start); in setIsOval()
182 bool isOval(SkRect* rect, bool* isCCW, unsigned* start) const { in isOval() function
492 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
493 fIsOval = isOval; in setIsOval()
/external/skia/include/private/
DSkPathRef.h104 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
105 fPathRef->setIsOval(isOval, isCCW, start); in setIsOval()
183 bool isOval(SkRect* rect, bool* isCCW, unsigned* start) const { in isOval() function
496 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
497 fIsOval = isOval; in setIsOval()
/external/skqp/include/core/
DSkRRect.h106 inline bool isOval() const { return kOval_Type == this->getType(); } in isOval() function
114 return this->isOval() && SkScalarNearlyEqual(fRadii[0].fX, fRadii[0].fY); in isCircle()
DSkPath.h300 bool isOval(SkRect* rect, Direction* dir = nullptr,
303 bool result = fPathRef->isOval(rect, &isCCW, start);
/external/skia/src/core/
DSkRRectPriv.h16 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle()
DSkPathPriv.h186 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval()
DSkPath_serial.cpp58 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect()
DSkPath.cpp636 bool SkPath::isOval(SkRect* bounds) const { in isOval() function in SkPath
1145 } else if (rrect.isOval()) { in addRRect()
1253 bool isOval = hasOnlyMoveTos(); in addOval() local
1254 if (isOval) { in addOval()
1282 ed.setIsOval(isOval, kCCW_Direction == dir, startPointIndex % 4); in addOval()
/external/skia/tools/debugger/
DSkObjectParser.cpp171 if (path.isOval(nullptr)) { in PathToString()
289 } else if (rrect.isOval()) { in RRectToString()
/external/skqp/tools/debugger/
DSkObjectParser.cpp171 if (path.isOval(nullptr)) { in PathToString()
289 } else if (rrect.isOval()) { in RRectToString()
/external/skqp/gm/
Drrect.cpp107 } else if (rrect.isOval()) { in draw_rrect_color()
/external/skia/include/core/
DSkRRect.h106 inline bool isOval() const { return kOval_Type == this->getType(); } in isOval() function
DSkPath.h283 bool isOval(SkRect* bounds) const;
/external/skia/gm/
Drrect.cpp107 } else if (rrect.isOval()) { in draw_rrect_color()
/external/skqp/tests/
DPathTest.cpp2510 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back()
2511 if (p.isOval(&oval0, &dir0, &start0) && readBack.isOval(&oval1, &dir1, &start1)) { in write_and_read_back()
3291 REPORTER_ASSERT(reporter, path.isOval(&rect) == expectedCircle); in check_for_circle()
3294 if (path.isOval(&rect, &isOvalDir, &isOvalStart)) { in check_for_circle()
3530 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
3537 REPORTER_ASSERT(reporter, tmp.isOval(nullptr, &dir, &start)); in test_oval()
3546 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3553 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3557 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3563 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
[all …]
/external/skia/tests/
DPathTest.cpp2510 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back()
3197 REPORTER_ASSERT(reporter, path.isOval(&rect) == expectedCircle); in check_for_circle()
3436 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
3452 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3459 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3463 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3469 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3476 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
3648 bool isOval = SkPathPriv::IsOval(path, &r, &d, &s); in check_oval_arc() local
3649 REPORTER_ASSERT(reporter, isOval); in check_oval_arc()
[all …]
/external/skia/src/gpu/
DGrRenderTargetContext.cpp972 path.isOval(&rect) && SkScalarNearlyEqual(rect.width(), rect.height()) && in drawFastShadow()
1015 if (rrect.isOval()) { in drawFastShadow()
1118 if (spotShadowRRect.isOval()) { in drawFastShadow()
1502 } else if (rrect.isOval()) { in drawPath()
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp970 path.isOval(&rect) && SkScalarNearlyEqual(rect.width(), rect.height()) && in drawFastShadow()
1013 if (rrect.isOval()) { in drawFastShadow()
1116 if (spotShadowRRect.isOval()) { in drawFastShadow()
1500 } else if (rrect.isOval()) { in drawPath()
DGrShape.cpp493 } else if (this->path().isOval(&rect, &rrectDir, &rrectStart)) { in attemptToSimplifyPath()
/external/skqp/src/core/
DSkPath.cpp1136 } else if (rrect.isOval()) { in addRRect()
1244 bool isOval = hasOnlyMoveTos(); in addOval() local
1245 if (isOval) { in addOval()
1273 ed.setIsOval(isOval, kCCW_Direction == dir, startPointIndex % 4); in addOval()
2077 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect()
/external/skia/src/utils/
DSkDumpCanvas.cpp44 if (rrect.isOval()) { in toString()
/external/skqp/src/utils/
DSkDumpCanvas.cpp44 if (rrect.isOval()) { in toString()
/external/skqp/src/gpu/effects/
DGrRRectEffect.cpp678 if (rrect.isOval()) { in Make()
/external/skia/src/gpu/ops/
DGrShadowRRectOp.cpp669 rrect.isOval(), in Make()
/external/skia/src/gpu/effects/
DGrRRectEffect.cpp678 if (rrect.isOval()) { in Make()

12