Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkPathRef.h102 void setIsOval(bool isOval) { fPathRef->setIsOval(isOval); } in setIsOval() argument
172 bool isOval(SkRect* rect) const { in isOval() function
456 void setIsOval(bool isOval) { fIsOval = isOval; } in setIsOval() argument
DSkRRect.h97 inline bool isOval() const { return kOval_Type == this->getType(); } in isOval() function
105 return this->isOval() && SkScalarNearlyEqual(fRadii[0].fX, fRadii[0].fY); in isCircle()
DSkPath.h175 bool isOval(SkRect* rect) const { return fPathRef->isOval(rect); } in isOval() function
/external/skia/src/gpu/
DGrPath.cpp40 if (stroke.isDashed() || !path.isOval(&rect)) { in compute_key_for_oval_path()
206 if (!fStroke.isDashed() && fSkPath.isOval(&ovalBounds)) { in isEqualTo()
208 return path.isOval(&otherOvalBounds) && ovalBounds == otherOvalBounds; in isEqualTo()
DGrDrawContext.cpp699 bool isOval = path.isOval(&ovalRect); in drawPath() local
701 if (isOval && !path.isInverseFillType()) { in drawPath()
DGrOvalRenderer.cpp1742 SkASSERT(!rrect.isOval()); in create_rrect_batch()
1890 if (rrect.isOval()) { in CreateRRectBatch()
DSkGpuDevice.cpp708 if (origSrcPath.isOval(&rect)) { in drawPath()
/external/skia/tools/debugger/
DSkObjectParser.cpp163 if (path.isOval(nullptr)) { in PathToString()
281 } else if (rrect.isOval()) { in RRectToString()
/external/skia/gm/
Drrect.cpp106 } else if (rrect.isOval()) { in draw_rrect_color()
/external/skia/src/core/
DSkPathRef.cpp136 bool isOval = (packed >> kIsOval_SerializationShift) & 1; in CreateFromBuffer() local
172 ref->fIsOval = isOval; in CreateFromBuffer()
DSkClipStack.cpp122 if (path.isOval(&ovalRect)) { in initPath()
DSkPath.cpp1121 } else if (rrect.isOval()) { in addRRect()
1233 bool isOval = hasOnlyMoveTos(); in addOval() local
1234 if (isOval) { in addOval()
1262 ed.setIsOval(isOval); in addOval()
DSkCanvas.cpp1593 if (path.isOval(&r)) { in clipPath()
2113 } else if (rrect.isOval()) { in onDrawRRect()
/external/skia/tests/
DPathTest.cpp2220 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back()
2894 REPORTER_ASSERT(reporter, path.isOval(&rect) == expectedCircle); in check_for_circle()
3111 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
3117 REPORTER_ASSERT(reporter, tmp.isOval(nullptr)); in test_oval()
3124 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3131 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3135 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3141 REPORTER_ASSERT(reporter, !tmp.isOval(nullptr)); in test_oval()
3148 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
3155 REPORTER_ASSERT(reporter, path.isOval(nullptr)); in test_oval()
/external/skia/src/utils/
DSkDumpCanvas.cpp44 if (rrect.isOval()) { in toString()
/external/skia/src/gpu/effects/
DGrRRectEffect.cpp688 if (rrect.isOval()) { in Create()
/external/skia/src/effects/
DSkBlurMaskFilter.cpp874 } else if (path.isOval(&rect) && SkScalarNearlyEqual(rect.width(), rect.height())) { in directFilterMaskGPU()