Lines Matching refs:y2
180 double x1, y1, x2, y2; member
348 square_check(double x, double y, double x1, double y1, double x2, double y2) in square_check() argument
362 return ((x<x1) ^ (x<x2)) & ((y<y1) ^ (y<y2)); in square_check()
368 return square_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2); in inside_square_filled()
388 double cy = (arg->y1+arg->y2)/2; in square_check_line()
389 double wy = fabs(arg->y1-arg->y2)/2; in square_check_line()
460 circle_check(double x, double y, double x1, double y1, double x2, double y2) in circle_check() argument
462 if (square_check(x, y, x1, y1, x2, y2)) in circle_check()
466 const double cy = (y1 + y2)/2; in circle_check()
468 const double dy = y1 - y2; in circle_check()
485 return circle_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2); in inside_circle_filled()
497 double cy = (arg->y1+arg->y2)/2; in circle_check_line()
498 double wy = fabs(arg->y1-arg->y2)/2; in circle_check_line()
554 line_check(double x, double y, double x1, double y1, double x2, double y2, in line_check() argument
559 double ly = y2 - y1; in line_check()
603 return line_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2, arg->width/2, 0); in inside_line()
612 if (line_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2, arg->width/2, in check_line()
619 line_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2, arg->width/2, in check_line()
685 arg->y2 = coordinate_of(argv[6]); in parse_arg()