Lines Matching refs:y2
179 double x1, y1, x2, y2; member
347 square_check(double x, double y, double x1, double y1, double x2, double y2) in square_check() argument
361 return ((x<x1) ^ (x<x2)) & ((y<y1) ^ (y<y2)); in square_check()
367 return square_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2); in inside_square_filled()
387 double cy = (arg->y1+arg->y2)/2; in square_check_line()
388 double wy = fabs(arg->y1-arg->y2)/2; in square_check_line()
459 circle_check(double x, double y, double x1, double y1, double x2, double y2) in circle_check() argument
461 if (square_check(x, y, x1, y1, x2, y2)) in circle_check()
465 const double cy = (y1 + y2)/2; in circle_check()
467 const double dy = y1 - y2; in circle_check()
484 return circle_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2); in inside_circle_filled()
496 double cy = (arg->y1+arg->y2)/2; in circle_check_line()
497 double wy = fabs(arg->y1-arg->y2)/2; in circle_check_line()
553 line_check(double x, double y, double x1, double y1, double x2, double y2, in line_check() argument
558 double ly = y2 - y1; in line_check()
602 return line_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2, arg->width/2, 0); in inside_line()
611 if (line_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2, arg->width/2, in check_line()
618 line_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2, arg->width/2, in check_line()
684 arg->y2 = coordinate_of(argv[6]); in parse_arg()