Lines Matching refs:x1

292 //fprintf(stderr, "BOUNDING BOX x1=%f, y1=%f x2=%f, y2=%f\n", bounds.origin.x, bounds.origin.y, bounds.origin.x+bounds.size.width, bounds.origin.y+bounds.size.height);
295 CGFloat x1 = shadingInfo->start.x;
299 //fprintf(stderr, "GIVEN x1=%f, y1=%f x2=%f, y2=%f\n", x1, y1, x2, y2);
301 if (x1 == x2)
308 x1 = bounds.origin.x;
309 x2 = x1 + bounds.size.width;
314 CGFloat m1 = (y2-y1)/(x2-x1);
315 CGFloat c1 = y1 - m1*x1;
342 x1 = x1Anew;
347 x1 = x1Bnew;
350 //fprintf(stderr, "--- NEW x1=%f, y1=%f\n", x1, y1);
387 qsdo->shadingInfo->length = sqrt(pow(x2-x1, 2.0) + pow(y2-y1, 2.0));
388 qsdo->shadingInfo->offset = sqrt(pow(shadingInfo->start.x-x1, 2.0) + pow(shadingInfo->start.y-y1, 2.0));
391 CGPoint newStart = {x1, y1};
977 CGFloat mx = 0.0f, my = 0.0f, x1 = 0.0f, y1 = 0.0f, cpx1 = 0.0f, cpy1 = 0.0f, cpx2 = 0.0f, cpy2 = 0.0f;
1005 mx = x1 = (CGFloat)coords[index++] + offsetX;
1007 CGContextMoveToPoint(cgRef, x1, y1); // start new subpath
1008 //fprintf(stderr, " SEG_MOVETO CGContextMoveToPoint (%f, %f)\n", x1, y1);
1011 x1 = (CGFloat)coords[index++] + offsetX;
1013 CGContextAddLineToPoint(cgRef, x1, y1);
1014 //fprintf(stderr, " SEG_LINETO CGContextAddLineToPoint (%f, %f)\n", x1, y1);
1019 x1 = (CGFloat)coords[index++] + offsetX;
1021 CGContextAddQuadCurveToPoint(cgRef, cpx1, cpy1, x1, y1);
1022 //fprintf(stderr, " SEG_QUADTO CGContextAddQuadCurveToPoint (%f, %f), (%f, %f)\n", cpx1, cpy1, x1, y1);
1029 x1 = (CGFloat)coords[index++] + offsetX;
1031 CGContextAddCurveToPoint(cgRef, cpx1, cpy1, cpx2, cpy2, x1, y1);
1032 //fprintf(stderr, " SEG_CUBICTO CGContextAddCurveToPoint (%f, %f), (%f, %f), (%f, %f)\n", cpx1, cpy1, cpx2, cpy2, x1, y1);