Lines Matching defs:validBox
1459 XRectangle validBox;
1563 TkClipBox(masterPtr->validRegion, &validBox);
1564 if ((validBox.width > 0) && (validBox.height > 0)) {
1565 DitherInstance(instancePtr, validBox.x, validBox.y,
1566 validBox.width, validBox.height);
1604 XRectangle validBox;
1768 TkClipBox(masterPtr->validRegion, &validBox);
1769 if ((validBox.width > 0) && (validBox.height > 0)) {
1770 DitherInstance(instancePtr, validBox.x, validBox.y, validBox.width,
1771 validBox.height);
1990 XRectangle validBox, clipBox;
2006 TkClipBox(masterPtr->validRegion, &validBox);
2007 if ((validBox.x + validBox.width > (unsigned) width)
2008 || (validBox.y + validBox.height > (unsigned) height)) {
2018 TkClipBox(masterPtr->validRegion, &validBox);
2034 * areas outside validBox, but they might be copied to another
2039 && ((width == masterPtr->width) || (width == validBox.width))) {
2040 if (validBox.y > 0) {
2041 memset((VOID *) newPix24, 0, (size_t) (validBox.y * pitch));
2043 h = validBox.y + validBox.height;
2065 offset = validBox.y * pitch;
2068 (size_t) (validBox.height * pitch));
2070 } else if ((validBox.width > 0) && (validBox.height > 0)) {
2076 destPtr = newPix24 + (validBox.y * width + validBox.x) * 3;
2077 srcPtr = masterPtr->pix24 + (validBox.y * masterPtr->width
2078 + validBox.x) * 3;
2079 for (h = validBox.height; h > 0; h--) {
2081 (size_t) (validBox.width * 3));
2099 if ((validBox.x > 0) || (validBox.y > 0)) {
2102 } else if (validBox.width == width) {
2103 if ((int) validBox.height < masterPtr->ditherY) {
2105 masterPtr->ditherY = validBox.height;
2109 || ((int) validBox.width < masterPtr->ditherX)) {
2110 masterPtr->ditherX = validBox.width;
2154 XRectangle validBox;
2158 TkClipBox(masterPtr->validRegion, &validBox);
2186 instancePtr->gc, validBox.x, validBox.y,
2187 validBox.width, validBox.height, validBox.x, validBox.y);
2207 || (validBox.width == masterPtr->width))) {
2208 if (validBox.y > 0) {
2210 (validBox.y * masterPtr->width * 3 * sizeof(schar)));
2212 h = validBox.y + validBox.height;
2232 offset = validBox.y * masterPtr->width * 3;
2235 (size_t) (validBox.height
2238 } else if (validBox.width > 0 && validBox.height > 0) {
2241 + (validBox.y * masterPtr->width + validBox.x) * 3;
2243 + (validBox.y * instancePtr->width + validBox.x) * 3;
2244 for (h = validBox.height; h > 0; --h) {
2246 validBox.width * 3 * sizeof(schar));