Lines Matching refs:srcBox
89 BoxRec srcBox, *prect;
131 /* If the src drawable is a window, we need to translate the srcBox so
133 srcBox.x1 = srcx;
134 srcBox.y1 = srcy;
135 srcBox.x2 = srcx + widthSrc;
136 srcBox.y2 = srcy + heightSrc;
170 if (dsty <= srcBox.y1) { /* Scroll up or stationary vertical.
172 if (dstx <= srcBox.x1) /* Scroll left or stationary horizontal.
189 if (dstx < srcBox.x1) { /* Scroll left. Horizontal order OK. */
214 xMin = max(prect->x1, srcBox.x1);
215 xMax = min(prect->x2, srcBox.x2);
216 yMin = max(prect->y1, srcBox.y1);
217 yMax = min(prect->y2, srcBox.y2);