Searched refs:startAngles (Results 1 – 2 of 2) sorted by relevance
/external/skqp/gm/ |
D | addarc.cpp | 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]), [all …]
|
/external/skia/gm/ |
D | addarc.cpp | 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]), [all …]
|