Lines Matching refs:deep_squared
516 int16 wide_squared, deep_squared; in draw_ellipse() local
522 deep_squared = deep * deep; in draw_ellipse()
523 d = deep_squared - (wide_squared*deep) + (wide_squared/4); in draw_ellipse()
526 while((wide_squared*(y - 0.5)) > (deep_squared*(x + 1))) in draw_ellipse()
529 d += deep_squared*(2*x + 3); in draw_ellipse()
532 d += deep_squared*(2*x + 3) + wide_squared*(-2*y + 2); in draw_ellipse()
539 d = deep_squared*((x+0.5)*(x+0.5)) + wide_squared*((y-1)*(y-1)) - deep_squared*wide_squared; in draw_ellipse()
544 d += deep_squared*(2*x + 2) + wide_squared*(-2*y + 3); in draw_ellipse()
569 int16 wide_squared, deep_squared; in fill_ellipse() local
575 deep_squared = deep * deep; in fill_ellipse()
576 d = deep_squared - (wide_squared*deep) + (wide_squared/4); in fill_ellipse()
579 while((wide_squared*(y - 0.5)) > (deep_squared*(x + 1))) in fill_ellipse()
582 d += deep_squared*(2*x + 3); in fill_ellipse()
585 d += deep_squared*(2*x + 3) + wide_squared*(-2*y + 2); in fill_ellipse()
592 d = deep_squared*((x+0.5)*(x+0.5)) + wide_squared*((y-1)*(y-1)) - deep_squared*wide_squared; in fill_ellipse()
597 d += deep_squared*(2*x + 2) + wide_squared*(-2*y + 3); in fill_ellipse()