Home
last modified time | relevance | path

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

/external/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()
/external/skia/include/private/
DSkPathRef.h149 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
150 fPathRef->setIsOval(isOval, isCCW, start); in setIsOval()
228 bool isOval(SkRect* rect, bool* isCCW, unsigned* start) const { in isOval() function
476 void setIsOval(bool isOval, bool isCCW, unsigned start) { in setIsOval() argument
477 fIsOval = isOval; in setIsOval()
/external/skia/tests/
DPathBuilderTest.cpp159 bool is_a = a.isOval(&ra); in is_eq()
160 bool is_b = b.isOval(&rb); in is_eq()
212 REPORTER_ASSERT(reporter, !bp.isOval(&tmp)); in DEF_TEST()
214 REPORTER_ASSERT(reporter, !bp.isOval(&tmp)); in DEF_TEST()
DPathTest.cpp2645 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back()
3341 REPORTER_ASSERT(reporter, path.isOval(&rect) == expectedCircle); in check_for_circle()
3580 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
3596 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3603 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3607 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3613 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3620 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
3793 bool isOval = SkPathPriv::IsOval(path, &r, &d, &s); in check_oval_arc() local
3794 REPORTER_ASSERT(reporter, isOval); in check_oval_arc()
[all …]
/external/skia/src/core/
DSkRRectPriv.h19 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle()
DSkPath_serial.cpp64 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect()
DSkPathPriv.h247 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval()
DSkPath.cpp514 bool SkPath::isOval(SkRect* bounds) const { in isOval() function in SkPath
997 } else if (rrect.isOval()) { in addRRect()
1106 bool isOval = hasOnlyMoveTos(); in addOval() local
1107 if (isOval) { in addOval()
1135 ed.setIsOval(isOval, SkPathDirection::kCCW == dir, startPointIndex % 4); in addOval()
DSkClipStack.cpp218 if (path.isOval(&ovalRect)) { in initPath()
DSkPathBuilder.cpp714 } else if (rrect.isOval()) { in addRRect()
DSkCanvas.cpp1627 if (path.isOval(&r)) { in clipPath()
2213 } else if (rrect.isOval()) { in onDrawRRect()
/external/skia/include/core/
DSkRRect.h85 inline bool isOval() const { return kOval_Type == this->getType(); } in isOval() function
DSkPath.h254 bool isOval(SkRect* bounds) const;
/external/skia/gm/
Drrect.cpp114 } else if (rrect.isOval()) { in draw_rrect_color()
/external/skia/src/gpu/ganesh/
DSurfaceDrawContext.cpp1102 path.isOval(&rect) && SkScalarNearlyEqual(rect.width(), rect.height()) && in drawFastShadow()
1149 if (rrect.isOval()) { in drawFastShadow()
1261 if (spotShadowRRect.isOval()) { in drawFastShadow()
1748 } else if (rrect.isOval()) { in drawSimpleShape()
/external/skia/src/gpu/ganesh/geometry/
DGrShape.cpp397 } else if (fRRect.isOval()) { in segmentMask()
DGrStyledShape.cpp494 if (fShape.rrect().isOval()) { in asRRect()
/external/skia/src/gpu/ganesh/ops/
DGrOvalOpFactory.cpp3177 SkASSERT(!rrect.isOval()); in MakeCircularRRectOp()
3228 SkASSERT(!rrect.isOval()); in make_rrect_op()
3295 if (rrect.isOval()) { in MakeRRectOp()
3509 if (rrect.isOval()) { in GR_DRAW_OP_TEST_DEFINE()
DShadowRRectOp.cpp740 rrect.isOval(), in Make()
/external/skia/src/gpu/ganesh/effects/
DGrRRectEffect.cpp703 if (rrect.isOval()) { in Make()