Lines Matching refs:pRect1
769 void VBoxDispVHWARectUnited(RECTL * pDst, RECTL * pRect1, RECTL * pRect2)
771 pDst->left = MIN(pRect1->left, pRect2->left);
772 pDst->top = MIN(pRect1->top, pRect2->top);
773 pDst->right = MAX(pRect1->right, pRect2->right);
774 pDst->bottom = MAX(pRect1->bottom, pRect2->bottom);
782 bool VBoxDispVHWARectIntersect(RECTL * pRect1, RECTL * pRect2)
784 return !((pRect1->left < pRect2->left && pRect1->right < pRect2->left)
785 || (pRect2->left < pRect1->left && pRect2->right < pRect1->left)
786 || (pRect1->top < pRect2->top && pRect1->bottom < pRect2->top)
787 || (pRect2->top < pRect1->top && pRect2->bottom < pRect1->top));
790 bool VBoxDispVHWARectInclude(RECTL * pRect1, RECTL * pRect2)
792 return ((pRect1->left <= pRect2->left && pRect1->right >= pRect2->right)
793 && (pRect1->top <= pRect2->top && pRect1->bottom >= pRect2->bottom));