Home
last modified time | relevance | path

Searched refs:fOval (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/gpu/geometry/
DGrShape.cpp104 if (fArc.fOval.isEmpty() || !fArc.fSweepAngle) { in simplifyArc()
109 SkPoint center = {fArc.fOval.centerX(), fArc.fOval.centerY()}; in simplifyArc()
111 SkPoint start = {center.fX + 0.5f * fArc.fOval.width() * SkScalarCos(startRad), in simplifyArc()
112 center.fY + 0.5f * fArc.fOval.height() * SkScalarSin(startRad)}; in simplifyArc()
129 this->simplifyRRect(SkRRect::MakeOval(fArc.fOval), in simplifyArc()
378 return fArc.fOval; in bounds()
449 SkPathPriv::CreateDrawArcPath(out, fArc.fOval, fArc.fStartAngle, fArc.fSweepAngle, in asPath()
DGrShape.h18 SkRect fOval; // The sorted, bounding box defining the oval the arc is traced along member
/external/skqp/gm/
Daaxfermodes.cpp82 fOval.moveTo(pts[0]); in onOnceBeforeDraw()
83 fOval.quadTo(pts[1], pts[2]); in onOnceBeforeDraw()
84 fOval.quadTo(pts[3], pts[0]); in onOnceBeforeDraw()
254 canvas->drawPath(fOval, shapePaint); in drawShape()
269 SkPath fOval; member in AAXfermodesGM
Dcirculararcs.cpp133 SkRect fOval; member
186 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, false, paint);
187 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, true, paint);
202 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, false, paint);
206 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, true, paint);
/external/skia/samplecode/
DSamplePathClip.cpp26 SkRect fOval; member in PathClipView
29 PathClipView() : fOval(SkRect::MakeWH(200, 50)), fCenter(SkPoint::Make(250, 250)) {} in PathClipView()
35 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
36 fCenter.fY - fOval.centerY()); in onDrawContent()
/external/skqp/samplecode/
DSamplePathClip.cpp26 SkRect fOval; member in PathClipView
29 PathClipView() : fOval(SkRect::MakeWH(200, 50)), fCenter(SkPoint::Make(250, 250)) {} in PathClipView()
41 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
42 fCenter.fY - fOval.centerY()); in onDrawContent()
/external/skqp/bench/
DShapesBench.cpp138 fOval.setOval(fRect.rect()); in onDelayedSetup()
181 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2); in onDelayedSetup()
191 case kOval_ShapesType: outer = &fOval; break; in onDelayedSetup()
239 SkRRect fOval; member in ShapesBench
/external/skia/bench/
DShapesBench.cpp140 fOval.setOval(fRect.rect()); in onDelayedSetup()
183 fShapes[i].fDraw = bind(&SkCanvas::drawOval, _1, cref(fOval.rect()), _2); in onDelayedSetup()
193 case kOval_ShapesType: outer = &fOval; break; in onDelayedSetup()
241 SkRRect fOval; member in ShapesBench
/external/skia/gm/
Dcirculararcs.cpp150 SkRect fOval; member
203 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, false, paint);
204 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, true, paint);
219 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, false, paint);
223 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, true, paint);
Daaxfermodes.cpp92 fOval = SkPathBuilder().moveTo(pts[0]) in onOnceBeforeDraw()
265 canvas->drawPath(fOval, shapePaint); in drawShape()
280 SkPath fOval; member in AAXfermodesGM
/external/skqp/src/gpu/
DGrShape.cpp92 result.fArcData.fOval = original.fArcData.fOval; in MakeFilled()
162 return fArcData.fOval; in bounds()
378 result.fArcData.fOval = oval; in MakeArc()
687 if (fArcData.fOval.isEmpty() || !fArcData.fSweepAngleDegrees) { in attemptToSimplifyArc()
699 auto oval = fArcData.fOval; in attemptToSimplifyArc()
DGrShape.h221 SkPathPriv::CreateDrawArcPath(out, fArcData.fOval, fArcData.fStartAngleDegrees, in asPath()
584 SkRect fOval; member
/external/skqp/tools/debugger/
DSkDrawCommand.cpp1532 fOval = oval; in SkDrawOvalCommand()
1537 canvas->drawOval(fOval, fPaint); in execute()
1544 xlate_and_scale_to_bounds(canvas, fOval); in render()
1550 canvas->drawOval(fOval, p); in render()
1558 writer.appendName(SKDEBUGCANVAS_ATTRIBUTE_COORDS); MakeJsonRect(writer, fOval); in toJSON()
1565 fOval = oval; in SkDrawArcCommand()
1573 canvas->drawArc(fOval, fStartAngle, fSweepAngle, fUseCenter, fPaint); in execute()
1580 xlate_and_scale_to_bounds(canvas, fOval); in render()
1586 canvas->drawArc(fOval, fStartAngle, fSweepAngle, fUseCenter, p); in render()
1594 writer.appendName(SKDEBUGCANVAS_ATTRIBUTE_COORDS); MakeJsonRect(writer, fOval); in toJSON()
DSkDrawCommand.h385 SkRect fOval;
400 SkRect fOval;
/external/skia/tools/debugger/
DDrawCommand.cpp1392 fOval = oval; in DrawOvalCommand()
1396 void DrawOvalCommand::execute(SkCanvas* canvas) const { canvas->drawOval(fOval, fPaint); } in execute()
1402 xlate_and_scale_to_bounds(canvas, fOval); in render()
1408 canvas->drawOval(fOval, p); in render()
1417 MakeJsonRect(writer, fOval); in toJSON()
1428 fOval = oval; in DrawArcCommand()
1436 canvas->drawArc(fOval, fStartAngle, fSweepAngle, fUseCenter, fPaint); in execute()
1443 xlate_and_scale_to_bounds(canvas, fOval); in render()
1449 canvas->drawArc(fOval, fStartAngle, fSweepAngle, fUseCenter, p); in render()
1458 MakeJsonRect(writer, fOval); in toJSON()
DDrawCommand.h356 SkRect fOval;
374 SkRect fOval;
/external/skqp/tests/
DGrShapeTest.cpp396 : fOval(oval) in ArcGeo()
403 SkPathPriv::CreateDrawArcPath(&path, fOval, fStartAngle, fSweepAngle, fUseCenter, false); in path()
408 return GrShape::MakeArc(fOval, fStartAngle, fSweepAngle, fUseCenter, GrStyle(paint)); in makeShape()
415 SkRect fOval; member in __anon2695f3e30111::ArcGeo
/external/skia/tests/
DGrStyledShapeTest.cpp402 : fOval(oval) in ArcGeo()
409 SkPathPriv::CreateDrawArcPath(&path, fOval, fStartAngle, fSweepAngle, fUseCenter, false); in path()
414 return GrStyledShape::MakeArc(fOval, fStartAngle, fSweepAngle, fUseCenter, GrStyle(paint)); in makeShape()
422 SkRect fOval; member in __anon3164c2810111::ArcGeo