Lines Matching refs:block

544     Tk_PhotoImageBlock block;
637 Tk_PhotoGetImage(srcHandle, &block);
638 if ((options.fromX2 > block.width) || (options.fromY2 > block.height)
639 || (options.fromX2 > block.width)
640 || (options.fromY2 > block.height)) {
651 options.fromX2 = block.width;
652 options.fromY2 = block.height;
690 block.pixelPtr += options.fromX * block.pixelSize
691 + options.fromY * block.pitch;
692 block.width = options.fromX2 - options.fromX;
693 block.height = options.fromY2 - options.fromY;
694 Tk_PhotoPutZoomedBlock((Tk_PhotoHandle) masterPtr, &block,
751 block.pixelPtr = NULL;
763 block.pixelPtr = pixelPtr;
790 if (block.pixelPtr != NULL) {
791 ckfree((char *) block.pixelPtr);
801 * copy the block in using Tk_PhotoPutBlock.
808 block.width = dataWidth;
809 block.height = dataHeight;
810 block.pitch = dataWidth * 3;
811 block.pixelSize = 3;
812 block.offset[0] = 0;
813 block.offset[1] = 1;
814 block.offset[2] = 2;
815 Tk_PhotoPutBlock((ClientData)masterPtr, &block,
818 ckfree((char *) block.pixelPtr);
1014 Tk_PhotoGetImage((Tk_PhotoHandle) masterPtr, &block);
1015 block.pixelPtr += options.fromY * block.pitch + options.fromX * 3;
1016 block.width = options.fromX2 - options.fromX;
1017 block.height = options.fromY2 - options.fromY;
1019 options.format, &block);
3266 * The dithering isn't correct past the start of this block.
3273 * If this image block could have different red, green and blue
3323 * Add this new block to the region which specifies which data is valid.
3428 * The dithering isn't correct past the start of this block.
3436 * If this image block could have different red, green and blue
3447 * Work out what area the pixel data in the block expands to after
3510 * Add this new block to the region that specifies which data is valid.
3574 * Work out whether this block will be correctly dithered
3583 * This block starts inside (or immediately after) the correctly
3585 * Furthermore this block extends into scanline masterPtr->ditherY.
3637 * block to be dithered. */
3638 int width, height; /* Dimensions of the block to be dithered. */
3922 * Update the pixmap for this instance with the block of