Lines Matching refs:startAngles
235 SkScalar startAngles[] = { -1, -0.5f, 0, 0.5f }; variable
236 for (size_t i = 0; i < SK_ARRAY_COUNT(startAngles); ++i) {
237 startAngles[i] *= 180;
242 for (size_t i = 0; i < SK_ARRAY_COUNT(startAngles) * 2; ++i) {
243 if (i == SK_ARRAY_COUNT(startAngles)) {
247 SkScalar startAngle = startAngles[i % SK_ARRAY_COUNT(startAngles)] * sign;
275 SkScalar startAngles[] = { 1.5f * SK_ScalarPI , 1.501f * SK_ScalarPI }; variable
278 for (size_t i = 0; i < SK_ARRAY_COUNT(startAngles); ++i) {
280 SkScalar endAngle = startAngles[i] + sweepAngle;
281 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]),
282 centerY + innerRadius * sk_float_sin(startAngles[i]));
283 path.lineTo(centerX + outerRadius * sk_float_cos(startAngles[i]),
284 centerY + outerRadius * sk_float_sin(startAngles[i]));
287 startAngles[i] * 180 / SK_ScalarPI, endAngle * 180 / SK_ScalarPI,
292 endAngle * 180 / SK_ScalarPI, startAngles[i] * 180 / SK_ScalarPI,