Lines Matching refs:point
184 float point[] = new float[6];
190 int type = pi.currentSegment(point);
194 // Force current point back to last moveto point
218 float ox = point[index];
219 float oy = point[index+1];
222 point[index] = newax;
223 point[index+1] = neway;
228 point[0] += ax;
229 point[1] += ay;
230 point[2] += newax;
231 point[3] += neway;
234 point[0] += (newax + ax) / 2;
235 point[1] += (neway + ay) / 2;
254 if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
255 point[1] < UPPER_BND && point[1] > LOWER_BND)
257 mx = point[0];
258 my = point[1];
273 if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
274 point[1] < UPPER_BND && point[1] > LOWER_BND)
277 consumer.beginSubpath(point[0], point[1]);
281 consumer.appendLine(point[0], point[1]);
295 if (point[2] < UPPER_BND && point[2] > LOWER_BND &&
296 point[3] < UPPER_BND && point[3] > LOWER_BND)
299 consumer.beginSubpath(point[2], point[3]);
303 if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
304 point[1] < UPPER_BND && point[1] > LOWER_BND)
306 consumer.appendQuadratic(point[0], point[1],
307 point[2], point[3]);
309 consumer.appendLine(point[2], point[3]);
324 if (point[4] < UPPER_BND && point[4] > LOWER_BND &&
325 point[5] < UPPER_BND && point[5] > LOWER_BND)
328 consumer.beginSubpath(point[4], point[5]);
332 if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
333 point[1] < UPPER_BND && point[1] > LOWER_BND &&
334 point[2] < UPPER_BND && point[2] > LOWER_BND &&
335 point[3] < UPPER_BND && point[3] > LOWER_BND)
337 consumer.appendCubic(point[0], point[1],
338 point[2], point[3],
339 point[4], point[5]);
341 consumer.appendLine(point[4], point[5]);
437 float point[] = new float[6];
442 int type = pi.currentSegment(point);
446 // Force current point back to last moveto point
470 float ox = point[index];
471 float oy = point[index+1];
474 point[index] = newax;
475 point[index+1] = neway;
480 point[0] += ax;
481 point[1] += ay;
482 point[2] += newax;
483 point[3] += neway;
486 point[0] += (newax + ax) / 2;
487 point[1] += (neway + ay) / 2;
507 if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
508 point[1] < UPPER_BND && point[1] > LOWER_BND)
510 mx = point[0];
511 my = point[1];
527 if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
528 point[1] < UPPER_BND && point[1] > LOWER_BND)
531 r.beginSubpath(point[0], point[1]);
535 r.appendLine(point[0], point[1]);
550 if (point[2] < UPPER_BND && point[2] > LOWER_BND &&
551 point[3] < UPPER_BND && point[3] > LOWER_BND)
554 r.beginSubpath(point[2], point[3]);
558 if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
559 point[1] < UPPER_BND && point[1] > LOWER_BND)
561 r.appendQuadratic(point[0], point[1],
562 point[2], point[3]);
564 r.appendLine(point[2], point[3]);
580 if (point[4] < UPPER_BND && point[4] > LOWER_BND &&
581 point[5] < UPPER_BND && point[5] > LOWER_BND)
584 r.beginSubpath(point[4], point[5]);
588 if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
589 point[1] < UPPER_BND && point[1] > LOWER_BND &&
590 point[2] < UPPER_BND && point[2] > LOWER_BND &&
591 point[3] < UPPER_BND && point[3] > LOWER_BND)
593 r.appendCubic(point[0], point[1],
594 point[2], point[3],
595 point[4], point[5]);
597 r.appendLine(point[4], point[5]);
726 float point[] = new float[6];
729 int type = pi.currentSegment(point);
733 // Force current point back to last moveto point
739 mx = point[0];
740 my = point[1];
741 consumer.beginSubpath(point[0], point[1]);
744 consumer.appendLine(point[0], point[1]);
747 consumer.appendQuadratic(point[0], point[1],
748 point[2], point[3]);
751 consumer.appendCubic(point[0], point[1],
752 point[2], point[3],
753 point[4], point[5]);