Home
last modified time | relevance | path

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

/third_party/skia/docs/examples/
DRRect_isOval.cpp13 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint);
17 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint);
DPath_isOval.cpp11 if (path.isOval(&bounds)) { in draw()
DPath_addRoundRect.cpp13 paint.setColor(path.isRect(nullptr) ? SK_ColorRED : path.isOval(nullptr) ? in draw()
/third_party/skia/include/private/
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
473 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
474 fIsOval = isOval; in setIsOval()
/third_party/skia/tests/
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()
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()
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(nullptr)); in test_oval()
3748 bool isOval = SkPathPriv::IsOval(path, &r, &d, &s); in check_oval_arc() local
3749 REPORTER_ASSERT(reporter, isOval); in check_oval_arc()
[all …]
/third_party/skia/src/core/
DSkRRectPriv.h19 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle()
DSkPath_serial.cpp63 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect()
DSkPathPriv.h236 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval()
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()
DSkClipStack.cpp229 if (path.isOval(&ovalRect)) { in initPath()
DSkPathBuilder.cpp711 } else if (rrect.isOval()) { in addRRect()
DSkCanvas.cpp1529 if (path.isOval(&r)) { in clipPath()
2094 } else if (rrect.isOval()) { in onDrawRRect()
/third_party/skia/gm/
Drrect.cpp114 } else if (rrect.isOval()) { in draw_rrect_color()
/third_party/skia/include/core/
DSkRRect.h81 inline bool isOval() const { return kOval_Type == this->getType(); } in isOval() function
DSkPath.h243 bool isOval(SkRect* bounds) const;
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp1145 path.isOval(&rect) && SkScalarNearlyEqual(rect.width(), rect.height()) && in drawFastShadow()
1192 if (rrect.isOval()) { in drawFastShadow()
1301 if (spotShadowRRect.isOval()) { in drawFastShadow()
1752 } else if (rrect.isOval()) { in drawSimpleShape()
/third_party/skia/src/gpu/geometry/
DGrShape.cpp397 } else if (fRRect.isOval()) { in segmentMask()
DGrStyledShape.cpp494 if (fShape.rrect().isOval()) { in asRRect()
/third_party/skia/src/gpu/ops/
DGrOvalOpFactory.cpp3172 SkASSERT(!rrect.isOval()); in MakeCircularRRectOp()
3223 SkASSERT(!rrect.isOval()); in make_rrect_op()
3290 if (rrect.isOval()) { in MakeRRectOp()
3504 if (rrect.isOval()) { in GR_DRAW_OP_TEST_DEFINE()
DShadowRRectOp.cpp739 rrect.isOval(), in Make()
/third_party/skia/src/gpu/effects/
DGrRRectEffect.cpp685 if (rrect.isOval()) { in Make()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt2663 bool isOval(SkRect* bounds) const;
3302 bool isOval() const;