/external/skia/docs/examples/ |
D | RRect_isOval.cpp | 13 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint); 17 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint);
|
D | Path_isOval.cpp | 11 if (path.isOval(&bounds)) { in draw()
|
D | Path_addRoundRect.cpp | 13 paint.setColor(path.isRect(nullptr) ? SK_ColorRED : path.isOval(nullptr) ? in draw()
|
/external/skia/include/private/ |
D | SkPathRef.h | 149 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/ |
D | PathBuilderTest.cpp | 159 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()
|
D | PathTest.cpp | 2645 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/ |
D | SkRRectPriv.h | 19 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle()
|
D | SkPath_serial.cpp | 64 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect()
|
D | SkPathPriv.h | 247 bool result = path.fPathRef->isOval(rect, &isCCW, start); in IsOval()
|
D | SkPath.cpp | 514 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()
|
D | SkClipStack.cpp | 218 if (path.isOval(&ovalRect)) { in initPath()
|
D | SkPathBuilder.cpp | 714 } else if (rrect.isOval()) { in addRRect()
|
D | SkCanvas.cpp | 1627 if (path.isOval(&r)) { in clipPath() 2213 } else if (rrect.isOval()) { in onDrawRRect()
|
/external/skia/include/core/ |
D | SkRRect.h | 85 inline bool isOval() const { return kOval_Type == this->getType(); } in isOval() function
|
D | SkPath.h | 254 bool isOval(SkRect* bounds) const;
|
/external/skia/gm/ |
D | rrect.cpp | 114 } else if (rrect.isOval()) { in draw_rrect_color()
|
/external/skia/src/gpu/ganesh/ |
D | SurfaceDrawContext.cpp | 1102 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/ |
D | GrShape.cpp | 397 } else if (fRRect.isOval()) { in segmentMask()
|
D | GrStyledShape.cpp | 494 if (fShape.rrect().isOval()) { in asRRect()
|
/external/skia/src/gpu/ganesh/ops/ |
D | GrOvalOpFactory.cpp | 3177 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()
|
D | ShadowRRectOp.cpp | 740 rrect.isOval(), in Make()
|
/external/skia/src/gpu/ganesh/effects/ |
D | GrRRectEffect.cpp | 703 if (rrect.isOval()) { in Make()
|