Lines Matching refs:k
149 for (unsigned int k = start; k < end; k += incr) { in addCommand() local
152 currentX += points->at(k + 0); in addCommand()
153 currentY += points->at(k + 1); in addCommand()
154 if (k > start) { in addCommand()
158 outPath->rLineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
160 outPath->rMoveTo(points->at(k + 0), points->at(k + 1)); in addCommand()
166 currentX = points->at(k + 0); in addCommand()
167 currentY = points->at(k + 1); in addCommand()
168 if (k > start) { in addCommand()
172 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
174 outPath->moveTo(points->at(k + 0), points->at(k + 1)); in addCommand()
180 outPath->rLineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
181 currentX += points->at(k + 0); in addCommand()
182 currentY += points->at(k + 1); in addCommand()
185 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
186 currentX = points->at(k + 0); in addCommand()
187 currentY = points->at(k + 1); in addCommand()
190 outPath->rLineTo(points->at(k + 0), 0); in addCommand()
191 currentX += points->at(k + 0); in addCommand()
194 outPath->lineTo(points->at(k + 0), currentY); in addCommand()
195 currentX = points->at(k + 0); in addCommand()
198 outPath->rLineTo(0, points->at(k + 0)); in addCommand()
199 currentY += points->at(k + 0); in addCommand()
202 outPath->lineTo(currentX, points->at(k + 0)); in addCommand()
203 currentY = points->at(k + 0); in addCommand()
206 outPath->rCubicTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
207 points->at(k + 3), points->at(k + 4), points->at(k + 5)); in addCommand()
209 ctrlPointX = currentX + points->at(k + 2); in addCommand()
210 ctrlPointY = currentY + points->at(k + 3); in addCommand()
211 currentX += points->at(k + 4); in addCommand()
212 currentY += points->at(k + 5); in addCommand()
216 outPath->cubicTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
217 points->at(k + 3), points->at(k + 4), points->at(k + 5)); in addCommand()
218 currentX = points->at(k + 4); in addCommand()
219 currentY = points->at(k + 5); in addCommand()
220 ctrlPointX = points->at(k + 2); in addCommand()
221 ctrlPointY = points->at(k + 3); in addCommand()
231 outPath->rCubicTo(reflectiveCtrlPointX, reflectiveCtrlPointY, points->at(k + 0), in addCommand()
232 points->at(k + 1), points->at(k + 2), points->at(k + 3)); in addCommand()
233 ctrlPointX = currentX + points->at(k + 0); in addCommand()
234 ctrlPointY = currentY + points->at(k + 1); in addCommand()
235 currentX += points->at(k + 2); in addCommand()
236 currentY += points->at(k + 3); in addCommand()
246 outPath->cubicTo(reflectiveCtrlPointX, reflectiveCtrlPointY, points->at(k + 0), in addCommand()
247 points->at(k + 1), points->at(k + 2), points->at(k + 3)); in addCommand()
248 ctrlPointX = points->at(k + 0); in addCommand()
249 ctrlPointY = points->at(k + 1); in addCommand()
250 currentX = points->at(k + 2); in addCommand()
251 currentY = points->at(k + 3); in addCommand()
254 outPath->rQuadTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
255 points->at(k + 3)); in addCommand()
256 ctrlPointX = currentX + points->at(k + 0); in addCommand()
257 ctrlPointY = currentY + points->at(k + 1); in addCommand()
258 currentX += points->at(k + 2); in addCommand()
259 currentY += points->at(k + 3); in addCommand()
262 outPath->quadTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
263 points->at(k + 3)); in addCommand()
264 ctrlPointX = points->at(k + 0); in addCommand()
265 ctrlPointY = points->at(k + 1); in addCommand()
266 currentX = points->at(k + 2); in addCommand()
267 currentY = points->at(k + 3); in addCommand()
277 outPath->rQuadTo(reflectiveCtrlPointX, reflectiveCtrlPointY, points->at(k + 0), in addCommand()
278 points->at(k + 1)); in addCommand()
281 currentX += points->at(k + 0); in addCommand()
282 currentY += points->at(k + 1); in addCommand()
292 outPath->quadTo(reflectiveCtrlPointX, reflectiveCtrlPointY, points->at(k + 0), in addCommand()
293 points->at(k + 1)); in addCommand()
296 currentX = points->at(k + 0); in addCommand()
297 currentY = points->at(k + 1); in addCommand()
301 outPath->arcTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
302 (SkPath::ArcSize) (points->at(k + 3) != 0), in addCommand()
303 (SkPath::Direction) (points->at(k + 4) == 0), in addCommand()
304 points->at(k + 5) + currentX, points->at(k + 6) + currentY); in addCommand()
305 currentX += points->at(k + 5); in addCommand()
306 currentY += points->at(k + 6); in addCommand()
311 outPath->arcTo(points->at(k + 0), points->at(k + 1), points->at(k + 2), in addCommand()
312 (SkPath::ArcSize) (points->at(k + 3) != 0), in addCommand()
313 (SkPath::Direction) (points->at(k + 4) == 0), in addCommand()
314 points->at(k + 5), points->at(k + 6)); in addCommand()
315 currentX = points->at(k + 5); in addCommand()
316 currentY = points->at(k + 6); in addCommand()