Lines Matching defs:block
150 int width, height; /* Dimensions of block of photo image to
157 Tk_PhotoImageBlock block;
202 block.width = fileWidth;
203 block.height = fileHeight;
204 block.pixelSize = 3;
205 block.pitch = 3 * fileWidth;
206 block.offset[0] = 0;
207 block.offset[1] = 1;
208 block.offset[2] = 2;
209 nBytes = fileHeight * block.pitch;
210 block.pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);
269 if (ReadImage(interp, (char *) block.pixelPtr, f, fileWidth,
275 if (ReadImage(interp, (char *) block.pixelPtr, f, fileWidth,
284 Tk_PhotoPutBlock(imageHandle, &block, destX, destY, fileWidth, fileHeight);
285 ckfree((char *) block.pixelPtr);
289 ckfree((char *) block.pixelPtr);