Lines Matching defs:pi
124 public static int pointCrossingsForPath(PathIterator pi,
127 if (pi.isDone()) {
131 if (pi.currentSegment(coords) != PathIterator.SEG_MOVETO) {
135 pi.next();
142 while (!pi.isDone()) {
143 switch (pi.currentSegment(coords)) {
193 pi.next();
377 public static int rectCrossingsForPath(PathIterator pi,
384 if (pi.isDone()) {
388 if (pi.currentSegment(coords) != PathIterator.SEG_MOVETO) {
392 pi.next();
397 while (crossings != RECT_INTERSECTS && !pi.isDone()) {
398 switch (pi.currentSegment(coords)) {
462 pi.next();