• Home
  • Raw
  • Download

Lines Matching refs:startAngle

1091 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,  in arc_is_lone_point()  argument
1093 if (0 == sweepAngle && (0 == startAngle || SkIntToScalar(360) == startAngle)) { in arc_is_lone_point()
1114 static void angles_to_unit_vectors(SkScalar startAngle, SkScalar sweepAngle, in angles_to_unit_vectors() argument
1116 startV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &startV->fX); in angles_to_unit_vectors()
1117 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors()
1130 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors()
1332 SkPath& SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument
1343 if (arc_is_lone_point(oval, startAngle, sweepAngle, &lonePt)) { in arcTo()
1349 angles_to_unit_vectors(startAngle, sweepAngle, &startV, &stopV, &dir); in arcTo()
1371 SkScalar endAngle = SkDegreesToRadians(startAngle + sweepAngle); in arcTo()
1529 SkPath& SkPath::addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) { in addArc() argument
1539 SkScalar startOver90 = startAngle / 90.f; in addArc()
1550 return this->arcTo(oval, startAngle, sweepAngle, true); in addArc()
3788 void SkPathPriv::CreateDrawArcPath(SkPath* path, const SkRect& oval, SkScalar startAngle, in CreateDrawArcPath() argument
3810 path->arcTo(oval, startAngle, -180.f, forceMoveTo); in CreateDrawArcPath()
3811 startAngle -= 180.f; in CreateDrawArcPath()
3812 path->arcTo(oval, startAngle, -180.f, false); in CreateDrawArcPath()
3813 startAngle -= 180.f; in CreateDrawArcPath()
3818 path->arcTo(oval, startAngle, 180.f, forceMoveTo); in CreateDrawArcPath()
3819 startAngle += 180.f; in CreateDrawArcPath()
3820 path->arcTo(oval, startAngle, 180.f, false); in CreateDrawArcPath()
3821 startAngle += 180.f; in CreateDrawArcPath()
3825 path->arcTo(oval, startAngle, sweepAngle, forceMoveTo); in CreateDrawArcPath()