Lines Matching full:bound

118 struct bound {  struct
141 struct bound ellipse; argument
142 struct bound inner;
143 struct bound outer;
144 struct bound right;
145 struct bound left;
2659 struct arc_bound *bound, in computeBound() argument
2665 struct bound innerx, outerx; in computeBound()
2666 struct bound ellipsex; in computeBound()
2668 bound->ellipse.min = Dsin(def->a0) * def->h; in computeBound()
2669 bound->ellipse.max = Dsin(def->a1) * def->h; in computeBound()
2671 ellipsex.min = bound->ellipse.min; in computeBound()
2675 ellipsex.max = bound->ellipse.max; in computeBound()
2678 bound->outer.min = outerYfromXY(ellipsex.min, bound->ellipse.min, def, acc); in computeBound()
2679 bound->outer.max = outerYfromXY(ellipsex.max, bound->ellipse.max, def, acc); in computeBound()
2680 bound->inner.min = innerYfromXY(ellipsex.min, bound->ellipse.min, def, acc); in computeBound()
2681 bound->inner.max = innerYfromXY(ellipsex.max, bound->ellipse.max, def, acc); in computeBound()
2683 outerx.min = outerXfromXY(ellipsex.min, bound->ellipse.min, def, acc); in computeBound()
2684 outerx.max = outerXfromXY(ellipsex.max, bound->ellipse.max, def, acc); in computeBound()
2685 innerx.min = innerXfromXY(ellipsex.min, bound->ellipse.min, def, acc); in computeBound()
2686 innerx.max = innerXfromXY(ellipsex.max, bound->ellipse.max, def, acc); in computeBound()
2697 right->counterClock.y = bound->outer.min; in computeBound()
2699 right->center.y = bound->ellipse.min; in computeBound()
2701 right->clock.y = bound->inner.min; in computeBound()
2706 left->clock.y = bound->outer.max; in computeBound()
2708 left->center.y = bound->ellipse.max; in computeBound()
2710 left->counterClock.y = bound->inner.max; in computeBound()
2714 bound->left.min = bound->inner.max; in computeBound()
2715 bound->left.max = bound->outer.max; in computeBound()
2716 bound->right.min = bound->inner.min; in computeBound()
2717 bound->right.max = bound->outer.min; in computeBound()
2719 computeLine(innerx.min, bound->inner.min, outerx.min, bound->outer.min, in computeBound()
2721 computeLine(innerx.max, bound->inner.max, outerx.max, bound->outer.max, in computeBound()
2724 if (bound->inner.min > bound->inner.max) { in computeBound()
2725 t = bound->inner.min; in computeBound()
2726 bound->inner.min = bound->inner.max; in computeBound()
2727 bound->inner.max = t; in computeBound()
2730 if (tail_y > bound->ellipse.max) in computeBound()
2731 tail_y = bound->ellipse.max; in computeBound()
2732 else if (tail_y < bound->ellipse.min) in computeBound()
2733 tail_y = bound->ellipse.min; in computeBound()
2735 if (bound->inner.min > innerTaily) in computeBound()
2736 bound->inner.min = innerTaily; in computeBound()
2737 if (bound->inner.max < innerTaily) in computeBound()
2738 bound->inner.max = innerTaily; in computeBound()
2739 bound->inneri.min = ICEIL(bound->inner.min - acc->fromIntY); in computeBound()
2740 bound->inneri.max = floor(bound->inner.max - acc->fromIntY); in computeBound()
2741 bound->outeri.min = ICEIL(bound->outer.min - acc->fromIntY); in computeBound()
2742 bound->outeri.max = floor(bound->outer.max - acc->fromIntY); in computeBound()
2797 struct arc_bound *bound, struct accelerators *acc, int left) in hookEllipseY() argument
2803 return bound->ellipse.min; in hookEllipseY()
2804 return bound->ellipse.max; in hookEllipseY()
2821 struct arc_bound *bound, struct accelerators *acc, int left) in hookX() argument
2827 ellipse_y = hookEllipseY(scan_y, bound, acc, left); in hookX()
2828 if (boundedLe(ellipse_y, bound->ellipse)) { in hookX()
2846 if (acc->left.valid && boundedLe(scan_y, bound->left)) { in hookX()
2857 if (acc->right.valid && boundedLe(scan_y, bound->right)) { in hookX()
3502 struct arc_bound bound; in drawQuadrant() local
3510 computeBound(def, &bound, acc, right, left); in drawQuadrant()
3511 yy = bound.inner.min; in drawQuadrant()
3512 if (bound.outer.min < yy) in drawQuadrant()
3513 yy = bound.outer.min; in drawQuadrant()
3515 yy = bound.inner.max; in drawQuadrant()
3516 if (bound.outer.max > yy) in drawQuadrant()
3517 yy = bound.outer.max; in drawQuadrant()
3532 def, &bound, acc, mask); in drawQuadrant()
3534 tailSpan(y, -span->rw, -span->rx, def, &bound, acc, mask); in drawQuadrant()
3543 arcSpan(y, 0, 0, 0, 1, def, &bound, acc, mask & 0xc); in drawQuadrant()
3550 def, &bound, acc, mask); in drawQuadrant()
3560 def, &bound, acc, n); in drawQuadrant()
3562 tailSpan(y, -span->rw, -span->rx, def, &bound, acc, n); in drawQuadrant()
3566 def, &bound, acc, n); in drawQuadrant()
3576 x = tailX(yy, def, &bound, acc); in drawQuadrant()
3577 if (acc->left.valid && boundedLe(yy, bound.left)) { in drawQuadrant()
3582 if (acc->right.valid && boundedLe(yy, bound.right)) { in drawQuadrant()
3590 ICEIL(acc->fromIntX + x), 0, def, &bound, acc, mask); in drawQuadrant()