Lines Matching refs:srcBox
83 BoxRec srcBox, *prect;
125 /* If the src drawable is a window, we need to translate the srcBox so
127 srcBox.x1 = srcx;
128 srcBox.y1 = srcy;
129 srcBox.x2 = srcx + widthSrc;
130 srcBox.y2 = srcy + heightSrc;
164 if (dsty <= srcBox.y1) { /* Scroll up or stationary vertical.
166 if (dstx <= srcBox.x1) /* Scroll left or stationary horizontal.
183 if (dstx < srcBox.x1) { /* Scroll left. Horizontal order OK. */
206 xMin = max(prect->x1, srcBox.x1);
207 xMax = min(prect->x2, srcBox.x2);
208 yMin = max(prect->y1, srcBox.y1);
209 yMax = min(prect->y2, srcBox.y2);