Lines Matching defs:y1
210 float x1, y1;
215 y1 = y0 + dy;
218 addLine(x0, y0, x1, y1);
222 y0 = y1;
257 float x1 = x0, y1 = y0;
303 y1 += dy;
308 y1 = y3;
311 addLine(x0, y0, x1, y1);
315 y0 = y1;
322 private void addLine(float x1, float y1, float x2, float y2) {
330 if (y2 < y1) {
333 y2 = y1;
334 y1 = tmp;
343 // Since y1 and y2 are biased by -0.5 in tosubpixy(), this is simply
344 // ceil(y1) or ceil(y2)
346 final int firstCrossing = FloatMath.max(FloatMath.ceil_int(y1), boundsMinY);
376 final double y1d = y1;
427 // Note that since y1 (and y2) are already biased by -0.5 in tosubpixy(), we have
428 // y1 = trueY - 0.5
429 // trueY = y1 + 0.5
430 // firstcrossing + 0.5 - trueY = firstcrossing + 0.5 - (y1 + 0.5)
431 // = firstcrossing - y1
433 // x1_intercept = x1 + (firstcrossing - y1) * slope
697 final float y1 = tosubpixy(pix_y1);
698 addLine(x0, y0, x1, y1);
700 y0 = y1;
704 public void curveTo(float x1, float y1,
710 curve.set(x0, y0, tosubpixx(x1), tosubpixy(y1),
718 public void quadTo(float x1, float y1, float x2, float y2) {
721 curve.set(x0, y0, tosubpixx(x1), tosubpixy(y1), xe, ye);