Home
last modified time | relevance | path

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

/external/skia/gm/
Ddashcircle.cpp64 for (const DashExample& dashExample : dashExamples) { in onDraw() local
67 for (int index = 0; index < dashExample.length; ++index) { in onDraw()
68 dashUnits += dashExample.pattern[index]; in onDraw()
73 for (int i2 = 0; i2 < dashExample.length; i2 += 2) { in onDraw()
74 SkScalar span = dashExample.pattern[i2] * unitLength; in onDraw()
78 angle += span + (dashExample.pattern[i2 + 1]) * unitLength; in onDraw()
90 int intervalCount = dashExample.length; in onDraw()
92 for (int index = 0; index < dashExample.length; ++index) { in onDraw()
93 intervals[index] = dashExample.pattern[index] * dashLength; in onDraw()