Home
last modified time | relevance | path

Searched refs:fUseCenter (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/gpu/geometry/
DGrShape.cpp103 bool wasClosed = fArc.fUseCenter; in simplifyArc()
114 if (fArc.fUseCenter) { in simplifyArc()
126 if ((flags & kSimpleFill_Flag) || ((flags & kIgnoreWinding_Flag) && !fArc.fUseCenter)) { in simplifyArc()
297 if (fArc.fUseCenter) { in conservativeContains()
335 return fArc.fUseCenter; in closed()
354 return SkPathPriv::DrawArcIsConvex(fArc.fSweepAngle, fArc.fUseCenter, simpleFill); in convex()
405 if (fArc.fUseCenter) { in segmentMask()
450 fArc.fUseCenter, simpleFill); in asPath()
DGrShape.h21 bool fUseCenter; // True if the arc includes the center point of the oval member
DGrStyledShape.cpp227 *key++ = fShape.arc().fUseCenter ? 1 : 0; in writeUnstyledKey()
/external/skqp/src/gpu/
DGrShape.h222 fArcData.fSweepAngleDegrees, fArcData.fUseCenter, in asPath()
324 SkToBool(fArcData.fUseCenter), in knownToBeConvex()
394 return fArcData.fUseCenter; in knownToBeClosed()
419 if (fArcData.fUseCenter) { in segmentMask()
587 int16_t fUseCenter; member
DGrShape.cpp95 result.fArcData.fUseCenter = original.fArcData.fUseCenter; in MakeFilled()
381 result.fArcData.fUseCenter = useCenter; in MakeArc()
696 if (fStyle.isSimpleFill() || (!fStyle.pathEffect() && !fArcData.fUseCenter && in attemptToSimplifyArc()
/external/skqp/tools/debugger/
DSkDrawCommand.cpp1568 fUseCenter = useCenter; in SkDrawArcCommand()
1573 canvas->drawArc(fOval, fStartAngle, fSweepAngle, fUseCenter, fPaint); in execute()
1586 canvas->drawArc(fOval, fStartAngle, fSweepAngle, fUseCenter, p); in render()
1597 writer.appendBool(SKDEBUGCANVAS_ATTRIBUTE_USECENTER, fUseCenter); in toJSON()
DSkDrawCommand.h403 bool fUseCenter; variable
/external/skia/tools/debugger/
DDrawCommand.cpp1431 fUseCenter = useCenter; in DrawArcCommand()
1436 canvas->drawArc(fOval, fStartAngle, fSweepAngle, fUseCenter, fPaint); in execute()
1449 canvas->drawArc(fOval, fStartAngle, fSweepAngle, fUseCenter, p); in render()
1461 writer.appendBool(DEBUGCANVAS_ATTRIBUTE_USECENTER, fUseCenter); in toJSON()
DDrawCommand.h377 bool fUseCenter; variable
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.cpp900 bool fUseCenter; member
928 if (arcParams->fUseCenter || stroke.getCap() == SkPaint::kSquare_Cap) { in Make()
935 if (arcParams->fUseCenter || stroke.getCap() != SkPaint::kButt_Cap) { in Make()
1036 bool useCenter = (arcParams->fUseCenter || isStrokeOnly) && in CircleOp()
2968 arcParamsTmp.fUseCenter = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE()
/external/skia/src/gpu/ops/
DGrOvalOpFactory.cpp1021 bool fUseCenter; member
1049 if (arcParams->fUseCenter || stroke.getCap() == SkPaint::kSquare_Cap) { in Make()
1056 if (arcParams->fUseCenter || stroke.getCap() != SkPaint::kButt_Cap) { in Make()
1162 bool useCenter = (arcParams->fUseCenter || isStrokeOnly) && in CircleOp()
3422 arcParamsTmp.fUseCenter = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE()
/external/skqp/tests/
DGrShapeTest.cpp399 , fUseCenter(useCenter) {} 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()
418 bool fUseCenter; member in __anon2695f3e30111::ArcGeo
/external/skia/tests/
DGrStyledShapeTest.cpp405 , fUseCenter(useCenter) {} 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()
425 bool fUseCenter; member in __anon3164c2810111::ArcGeo