Home
last modified time | relevance | path

Searched refs:stopV (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkPathBuilder.cpp254 SkVector* startV, SkVector* stopV, SkRotationDirection* dir) { in angles_to_unit_vectors() argument
260 stopV->fY = SkScalarSinSnapToZero(stopRad); in angles_to_unit_vectors()
261 stopV->fX = SkScalarCosSnapToZero(stopRad); in angles_to_unit_vectors()
271 if (*startV == *stopV) { in angles_to_unit_vectors()
279 stopV->fY = SkScalarSinSnapToZero(stopRad); in angles_to_unit_vectors()
280 stopV->fX = SkScalarCosSnapToZero(stopRad); in angles_to_unit_vectors()
281 } while (*startV == *stopV); in angles_to_unit_vectors()
326 SkVector startV, stopV; in arcTo() local
328 angles_to_unit_vectors(startAngle, sweepAngle, &startV, &stopV, &dir); in arcTo()
346 if (startV == stopV) { in arcTo()
[all …]
DSkPath.cpp861 SkVector* startV, SkVector* stopV, SkRotationDirection* dir) { in angles_to_unit_vectors() argument
867 stopV->fY = SkScalarSinSnapToZero(stopRad); in angles_to_unit_vectors()
868 stopV->fX = SkScalarCosSnapToZero(stopRad); in angles_to_unit_vectors()
878 if (*startV == *stopV) { in angles_to_unit_vectors()
886 stopV->fY = SkScalarSinSnapToZero(stopRad); in angles_to_unit_vectors()
887 stopV->fX = SkScalarCosSnapToZero(stopRad); in angles_to_unit_vectors()
888 } while (*startV == *stopV); in angles_to_unit_vectors()
1098 SkVector startV, stopV; in arcTo() local
1100 angles_to_unit_vectors(startAngle, sweepAngle, &startV, &stopV, &dir); in arcTo()
1121 if (startV == stopV) { in arcTo()
[all …]
/external/skqp/src/core/
DSkPath.cpp1115 SkVector* startV, SkVector* stopV, SkRotationDirection* dir) { in angles_to_unit_vectors() argument
1117 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors()
1127 if (*startV == *stopV) { in angles_to_unit_vectors()
1136 stopV->fY = SkScalarSinCos(stopRad, &stopV->fX); in angles_to_unit_vectors()
1137 } while (*startV == *stopV); in angles_to_unit_vectors()
1347 SkVector startV, stopV; in arcTo() local
1349 angles_to_unit_vectors(startAngle, sweepAngle, &startV, &stopV, &dir); in arcTo()
1370 if (startV == stopV) { in arcTo()
1386 int count = build_arc_conics(oval, startV, stopV, dir, conics, &singlePt); in arcTo()