Lines Matching refs:BB1

552 #define ka_copy(BB1,BB2) BB1.kaLeft = BB2->kaLeft; \  argument
553 BB1.kaRight = BB2->kaRight; \
554 BB1.kaBottom = BB2->kaBottom; \
555 BB1.kaTop = BB2->kaTop; \
556 TPoint(&BB1.kaLeft,&BB1.kaBottom); \
557 TPoint(&BB1.kaRight,&BB1.kaTop); \
558 if (BB1.kaLeft > BB1.kaRight) \
559 SwapInts(BB1.kaLeft,BB1.kaRight); \
560 if (BB1.kaBottom > BB1.kaTop) \
561 SwapInts(BB1.kaBottom,BB1.kaTop);
619 struct ka BB,BB1; local
630 CoarseLToP(BB.kaLeft,BB.kaBottom,BB1.kaLeft,BB1.kaBottom);
631 CoarseLToP(BB.kaRight,BB.kaTop,BB1.kaRight,BB1.kaTop);
633 if (BB1.kaLeft <= CurrentAOI.aRC And BB1.kaRight >= CurrentAOI.aLC And
634 BB1.kaBottom <= CurrentAOI.aTC And BB1.kaTop >= CurrentAOI.aBC) {
636 if (BB1.kaLeft < CurrentAOI.aLC) {
637 BB1.kaLeft = CurrentAOI.aLC;
640 if (BB1.kaBottom < CurrentAOI.aBC) {
641 BB1.kaBottom = CurrentAOI.aBC;
644 if (BB1.kaRight > CurrentAOI.aRC) {
645 BB1.kaRight = CurrentAOI.aRC;
648 if (BB1.kaTop > CurrentAOI.aTC) {
649 BB1.kaTop = CurrentAOI.aTC;
655 DevLine((int)BB1.kaLeft,(int)BB1.kaTop,
656 (int)BB1.kaRight,(int)BB1.kaTop);
658 DevLine((int)BB1.kaRight,(int)BB1.kaTop,
659 (int)BB1.kaRight,(int)BB1.kaBottom);
661 DevLine((int)BB1.kaRight,(int)BB1.kaBottom,
662 (int)BB1.kaLeft,(int)BB1.kaBottom);
664 DevLine((int)BB1.kaLeft,(int)BB1.kaBottom,
665 (int)BB1.kaLeft,(int)BB1.kaTop);
677 FineLToP(BB.kaLeft,BB.kaBottom,BB1.kaLeft,BB1.kaBottom);
678 FineLToP(BB.kaRight,BB.kaTop,BB1.kaRight,BB1.kaTop);
680 if (BB1.kaLeft <= CurrentAOI.aRF And BB1.kaRight >= CurrentAOI.aLF And
681 BB1.kaBottom <= CurrentAOI.aTF And BB1.kaTop >= CurrentAOI.aBF) {
683 if (BB1.kaLeft < CurrentAOI.aLF) {
684 BB1.kaLeft = CurrentAOI.aLF;
687 if (BB1.kaBottom < CurrentAOI.aBF) {
688 BB1.kaBottom = CurrentAOI.aBF;
691 if (BB1.kaRight > CurrentAOI.aRF) {
692 BB1.kaRight = CurrentAOI.aRF;
695 if (BB1.kaTop > CurrentAOI.aTF) {
696 BB1.kaTop = CurrentAOI.aTF;
702 DevLine((int)BB1.kaLeft,(int)BB1.kaTop,
703 (int)BB1.kaRight,(int)BB1.kaTop);
705 DevLine((int)BB1.kaRight,(int)BB1.kaTop,
706 (int)BB1.kaRight,(int)BB1.kaBottom);
708 DevLine((int)BB1.kaRight,(int)BB1.kaBottom,
709 (int)BB1.kaLeft,(int)BB1.kaBottom);
711 DevLine((int)BB1.kaLeft,(int)BB1.kaBottom,
712 (int)BB1.kaLeft,(int)BB1.kaTop);
724 struct ka BB,BB1; local
732 CoarseLToP(BB.kaLeft,BB.kaBottom,BB1.kaLeft,BB1.kaBottom);
733 CoarseLToP(BB.kaRight,BB.kaTop,BB1.kaRight,BB1.kaTop);
735 if (BB1.kaLeft <= CurrentAOI.aRC And BB1.kaRight >= CurrentAOI.aLC And
736 BB1.kaBottom <= CurrentAOI.aTC And BB1.kaTop >= CurrentAOI.aBC) {
738 if (BB1.kaLeft < CurrentAOI.aLC)
739 BB1.kaLeft = CurrentAOI.aLC;
740 if (BB1.kaBottom < CurrentAOI.aBC)
741 BB1.kaBottom = CurrentAOI.aBC;
742 if (BB1.kaRight > CurrentAOI.aRC)
743 BB1.kaRight = CurrentAOI.aRC;
744 if (BB1.kaTop > CurrentAOI.aTC)
745 BB1.kaTop = CurrentAOI.aTC;
746 FBEraseBox(BB1.kaLeft,BB1.kaBottom,
747 BB1.kaRight,BB1.kaTop);
754 FineLToP(BB.kaLeft,BB.kaBottom,BB1.kaLeft,BB1.kaBottom);
755 FineLToP(BB.kaRight,BB.kaTop,BB1.kaRight,BB1.kaTop);
757 if (BB1.kaLeft <= CurrentAOI.aRF And BB1.kaRight >= CurrentAOI.aLF And
758 BB1.kaBottom <= CurrentAOI.aTF And BB1.kaTop >= CurrentAOI.aBF) {
760 if (BB1.kaLeft < CurrentAOI.aLF)
761 BB1.kaLeft = CurrentAOI.aLF;
762 if (BB1.kaBottom < CurrentAOI.aBF)
763 BB1.kaBottom = CurrentAOI.aBF;
764 if (BB1.kaRight > CurrentAOI.aRF)
765 BB1.kaRight = CurrentAOI.aRF;
766 if (BB1.kaTop > CurrentAOI.aTF)
767 BB1.kaTop = CurrentAOI.aTF;
768 FBEraseBox(BB1.kaLeft,BB1.kaBottom,
769 BB1.kaRight,BB1.kaTop);