Lines Matching refs:y0
35 private double y0;
51 double x0, double y0,
56 int numparams = getHorizontalParams(y0, cy0, y1, tmp);
60 addInstance(curves, x0, y0, cx0, cy0, x1, y1, direction);
65 tmp[0] = x0; tmp[1] = y0;
78 double x0, double y0,
82 if (y0 > y1) {
83 curves.add(new Order2(x1, y1, cx0, cy0, x0, y0, -direction));
84 } else if (y1 > y0) {
85 curves.add(new Order2(x0, y0, cx0, cy0, x1, y1, direction));
139 double x0, y0, cx, cy, x1, y1;
147 y0 = coords[pos+1];
149 y0 = y0 + (cy - y0) * t;
151 cy = y0 + (y1 - y0) * t;
153 coords[pos+3] = y0;
160 public Order2(double x0, double y0,
169 if (cy0 < y0) {
170 cy0 = y0;
175 this.y0 = y0;
185 ycoeff0 = y0;
186 ycoeff1 = cy0 + cy0 - y0 - y0;
187 ycoeff2 = y0 - cy0 - cy0 + y1;
199 return y0;
223 return (direction == INCREASING) ? y0 : y1;
239 return (direction == DECREASING) ? y0 : y1;
243 if (y <= y0) {
253 if (y <= y0) {
266 // outside of the y0 to y1 range.
333 // First calculate the midpoint between y0 and y1 and choose to
336 // Note that we subtracted y from ycoeff0 above so both y0 and y1
339 double y0 = ycoeff0;
341 return (0 < (y0 + y1) / 2) ? 0.0 : 1.0;
387 r.add(x0, y0);
397 if (ystart <= y0) {
412 eqn[1] = y0;
434 return new Order2(x0, y0, cx0, cy0, x1, y1, -direction);
445 coords[3] = y0;