Lines Matching refs:rectPtr
606 RectOvalItem *rectPtr = (RectOvalItem *) itemPtr;
614 x1 = rectPtr->bbox[0];
615 y1 = rectPtr->bbox[1];
616 x2 = rectPtr->bbox[2];
617 y2 = rectPtr->bbox[3];
618 if (rectPtr->outlineGC != None) {
619 inc = rectPtr->width/2.0;
635 if ((rectPtr->fillGC != None) || (rectPtr->outlineGC == None)) {
651 xDiff -= rectPtr->width;
737 * given by rectPtr, 0 if it overlaps, and 1 if it is entirely
755 RectOvalItem *rectPtr = (RectOvalItem *) itemPtr;
758 halfWidth = rectPtr->width/2.0;
759 if (rectPtr->outlineGC == None) {
763 if ((areaPtr[2] <= (rectPtr->bbox[0] - halfWidth))
764 || (areaPtr[0] >= (rectPtr->bbox[2] + halfWidth))
765 || (areaPtr[3] <= (rectPtr->bbox[1] - halfWidth))
766 || (areaPtr[1] >= (rectPtr->bbox[3] + halfWidth))) {
769 if ((rectPtr->fillGC == None) && (rectPtr->outlineGC != None)
770 && (areaPtr[0] >= (rectPtr->bbox[0] + halfWidth))
771 && (areaPtr[1] >= (rectPtr->bbox[1] + halfWidth))
772 && (areaPtr[2] <= (rectPtr->bbox[2] - halfWidth))
773 && (areaPtr[3] <= (rectPtr->bbox[3] - halfWidth))) {
776 if ((areaPtr[0] <= (rectPtr->bbox[0] - halfWidth))
777 && (areaPtr[1] <= (rectPtr->bbox[1] - halfWidth))
778 && (areaPtr[2] >= (rectPtr->bbox[2] + halfWidth))
779 && (areaPtr[3] >= (rectPtr->bbox[3] + halfWidth))) {
797 * given by rectPtr, 0 if it overlaps, and 1 if it is entirely