Lines Matching refs:x0
170 private void quadBreakIntoLinesAndAdd(float x0, float y0,
191 float x1 = x0 + dx;
195 addLine(x0, y0, x1, y1);
196 x0 = x1;
199 addLine(x0, y0, x2, y2);
202 // x0, y0 and x3,y3 are the endpoints of the curve. We could compute these
207 private void curveBreakIntoLinesAndAdd(float x0, float y0,
225 // we use x0, y0 to walk the line
226 float x1 = x0, y1 = y0;
259 addLine(x0, y0, x1, y1);
260 x0 = x1;
332 private float x0, y0;
376 this.x0 = tosubpixx(pix_x0);
382 addLine(x0, y0, x1, y1);
383 x0 = x1;
394 c.set(x0, y0, tosubpixx(x1), tosubpixy(y1), tosubpixx(x2), tosubpixy(y2), xe, ye);
395 curveBreakIntoLinesAndAdd(x0, y0, c, xe, ye);
396 x0 = xe;
403 c.set(x0, y0, tosubpixx(x1), tosubpixy(y1), xe, ye);
404 quadBreakIntoLinesAndAdd(x0, y0, c, xe, ye);
405 x0 = xe;
429 int mask = (windingRule == WIND_EVEN_ODD) ? 0x1 : ~0x0;
457 int x0 = Math.max(lowx, bboxx0);
460 pix_minX = Math.min(pix_minX, x0 >> SUBPIXEL_LG_POSITIONS_X);
472 int x0 = Math.max(prev, bboxx0);
474 if (x0 < x1) {
475 x0 -= bboxx0; // turn x0, x1 from coords to indeces
478 int pix_x = x0 >> SUBPIXEL_LG_POSITIONS_X;
483 alpha[pix_x] += (x1 - x0);
484 alpha[pix_x+1] -= (x1 - x0);
487 alpha[pix_x] += SUBPIXEL_POSITIONS_X - (x0 & SUBPIXEL_MASK_X);
488 alpha[pix_x+1] += (x0 & SUBPIXEL_MASK_X);