Lines Matching refs:offset

81     private final float[][] offset = new float[3][2];
363 computeOffset(dx, dy, lineWidth2, offset[0]);
364 float mx = offset[0][0];
365 float my = offset[0][1];
536 computeOffset(x2 - x1, y2 - y1, lineWidth2, offset[0]);
537 left[0] = x1 + offset[0][0];
538 left[1] = y1 + offset[0][1];
539 left[2] = x2 + offset[0][0];
540 left[3] = y2 + offset[0][1];
541 right[0] = x1 - offset[0][0];
542 right[1] = y1 - offset[0][1];
543 right[2] = x2 - offset[0][0];
544 right[3] = y2 - offset[0][1];
592 // offset curve (call it I) of the input curve B using a bezier curve Bp.
647 computeOffset(dx1, dy1, lineWidth2, offset[0]);
648 computeOffset(dxm, dym, lineWidth2, offset[1]);
649 computeOffset(dx4, dy4, lineWidth2, offset[2]);
650 float x1p = x1 + offset[0][0]; // start
651 float y1p = y1 + offset[0][1]; // point
652 float xi = x + offset[1][0]; // interpolation
653 float yi = y + offset[1][1]; // point
654 float x4p = x4 + offset[2][0]; // end
655 float y4p = y4 + offset[2][1]; // point
675 x1p = x1 - offset[0][0]; y1p = y1 - offset[0][1];
676 xi = xi - 2 * offset[1][0]; yi = yi - 2 * offset[1][1];
677 x4p = x4 - offset[2][0]; y4p = y4 - offset[2][1];
710 computeOffset(dx1, dy1, lineWidth2, offset[0]);
711 computeOffset(dx3, dy3, lineWidth2, offset[1]);
713 leftOff[0] = x1 + offset[0][0]; leftOff[1] = y1 + offset[0][1];
714 leftOff[4] = x3 + offset[1][0]; leftOff[5] = y3 + offset[1][1];
715 rightOff[0] = x1 - offset[0][0]; rightOff[1] = y1 - offset[0][1];
716 rightOff[4] = x3 - offset[1][0]; rightOff[5] = y3 - offset[1][1];
834 computeOffset(dxs, dys, lineWidth2, offset[0]);
835 final float mx = offset[0][0];
836 final float my = offset[0][1];
883 // to get good offset curves a distance of w away from the middle curve.
930 // now we must subdivide at points where one of the offset curves will have
995 computeOffset(dxs, dys, lineWidth2, offset[0]);
996 final float mx = offset[0][0];
997 final float my = offset[0][1];
1067 computeOffset(dxs, dys, lineWidth2, offset[0]);
1068 final float mx = offset[0][0];
1069 final float my = offset[0][1];