Home
last modified time | relevance | path

Searched refs:isOval (Results 1 - 22 of 22) sorted by relevance

/third_party/skia/docs/examples/
H A DRRect_isOval.cpp13 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint); in REG_FIDDLE()
17 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint); in REG_FIDDLE()
H A DPath_addRoundRect.cpp13 paint.setColor(path.isRect(nullptr) ? SK_ColorRED : path.isOval(nullptr) ? in REG_FIDDLE()
H A DPath_isOval.cpp11 if (path.isOval(&bounds)) { in REG_FIDDLE()
/third_party/skia/include/private/
H A DSkPathRef.h154 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
155 fPathRef->setIsOval(isOval, isCCW, start); in setIsOval()
233 bool isOval(SkRect* rect, bool* isCCW, unsigned* start) const { in isOval() function in final
473 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
474 fIsOval = isOval; in setIsOval()
/third_party/skia/tests/
H A DPathBuilderTest.cpp145 bool is_a = a.isOval(&ra); in is_eq()
146 bool is_b = b.isOval(&rb); in is_eq()
198 REPORTER_ASSERT(reporter, !bp.isOval(&tmp)); in DEF_TEST()
200 REPORTER_ASSERT(reporter, !bp.isOval(&tmp)); in DEF_TEST()
H A DPathTest.cpp2600 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back()
3296 REPORTER_ASSERT(reporter, path.isOval(&rect) == expectedCircle); in check_for_circle()
3504 // some extra lineTo() would make isOval() fail in test_circle()
3535 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
3551 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3558 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3562 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3568 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3575 REPORTER_ASSERT(reporter, path.isOval(nullpt in test_oval()
3748 bool isOval = SkPathPriv::IsOval(path, &r, &d, &s); check_oval_arc() local
[all...]
/third_party/skia/src/core/
H A DSkRRectPriv.h19 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle()
H A DSkPathPriv.h236 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval()
H A DSkPath_serial.cpp63 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect()
H A DSkPath.cpp458 bool SkPath::isOval(SkRect* bounds) const { in isOval() function in SkPath
943 } else if (rrect.isOval()) { in addRRect()
1052 bool isOval = hasOnlyMoveTos(); in addOval() local
1053 if (isOval) { in addOval()
1081 ed.setIsOval(isOval, SkPathDirection::kCCW == dir, startPointIndex % 4); in addOval()
H A DSkPathBuilder.cpp711 } else if (rrect.isOval()) { in addRRect()
H A DSkClipStack.cpp229 if (path.isOval(&ovalRect)) { in initPath()
H A DSkCanvas.cpp1534 if (path.isOval(&r)) {
2106 } else if (rrect.isOval()) {
/third_party/skia/include/core/
H A DSkRRect.h81 inline bool isOval() const { return kOval_Type == this->getType(); } in isOval() function in SkRRect
H A DSkPath.h243 bool isOval(SkRect* bounds) const;
/third_party/skia/gm/
H A Drrect.cpp114 } else if (rrect.isOval()) { in draw_rrect_color()
/third_party/skia/src/gpu/v1/
H A DSurfaceDrawContext.cpp1147 path.isOval(&rect) && SkScalarNearlyEqual(rect.width(), rect.height()) && in drawFastShadow()
1194 if (rrect.isOval()) { in drawFastShadow()
1303 if (spotShadowRRect.isOval()) { in drawFastShadow()
1754 } else if (rrect.isOval()) { in drawSimpleShape()
/third_party/skia/src/gpu/geometry/
H A DGrShape.cpp397 } else if (fRRect.isOval()) { in segmentMask()
H A DGrStyledShape.cpp494 if (fShape.rrect().isOval()) { in asRRect()
/third_party/skia/src/gpu/ops/
H A DGrOvalOpFactory.cpp3201 SkASSERT(!rrect.isOval());
3252 SkASSERT(!rrect.isOval());
3319 if (rrect.isOval()) {
3533 if (rrect.isOval()) {
H A DShadowRRectOp.cpp739 rrect.isOval(), in Make()
/third_party/skia/src/gpu/effects/
H A DGrRRectEffect.cpp701 if (rrect.isOval()) { in Make()

Completed in 40 milliseconds