Lines Matching defs:bitmap

4  *	This procedure implements images of type "bitmap" for Tk.
18 * The following data structure represents the master for a bitmap
32 char *data; /* Data comprising bitmap (suitable for
35 char *maskData; /* Data for bitmap's mask (suitable for
62 Pixmap bitmap; /* The bitmap to display. */
63 Pixmap mask; /* Mask: only display bitmap pixels where
65 GC gc; /* Graphics context for displaying bitmap.
76 * The type record for bitmap images:
94 "bitmap", /* name */
128 * parsing a bitmap file or string. It is used for communication
134 char *string; /* Next character of string data for bitmap,
135 * or NULL if bitmap is being read from
137 FILE *f; /* File containing bitmap data, or NULL
140 /* Current word of bitmap data, NULL
224 * This procedure is called when a bitmap image is created or
242 * overall bitmap image to (reconfigure). */
258 * Parse the bitmap and/or mask to create binary data. Make sure that
259 * the bitmap and mask have the same dimensions.
281 masterPtr->interp->result = "can't have mask without bitmap";
294 masterPtr->interp->result = "bitmap and mask have different sizes";
321 * a bitmap image instance based on the configuration information
374 if (instancePtr->bitmap != None) {
375 Tk_FreePixmap(Tk_Display(instancePtr->tkwin), instancePtr->bitmap);
376 instancePtr->bitmap = None;
379 instancePtr->bitmap = XCreateBitmapFromData(
410 gcValues.clip_mask = instancePtr->bitmap;
447 * file or string contents to produce binary data for a bitmap.
450 * If the bitmap description was parsed successfully then the
451 * return value is a malloc-ed array containing the bitmap data.
453 * *heightPtr. *hotXPtr and *hotYPtr are set to the bitmap
459 * A bitmap is created.
468 char *string; /* String describing bitmap. May
470 char *fileName; /* Name of file containing bitmap
474 int *widthPtr, *heightPtr; /* Dimensions of bitmap get returned
493 Tcl_AppendResult(interp, "couldn't read bitmap file \"",
502 * Parse the lines that define the dimensions of the bitmap,
503 * plus the first line that defines the bitmap data (it declares
572 Tcl_AppendResult(interp, "format error in bitmap data; ",
573 "looks like it's an obsolete X10 bitmap file",
614 interp->result = "format error in bitmap data";
632 * between commas or white space) from a bitmap description.
637 * of the bitmap description was reached then TCL_ERROR is returned.
769 * This procedure is called for each use of a bitmap image in a
817 instancePtr->bitmap = None;
842 * This procedure is invoked to draw a bitmap image.
890 XCopyPlane(display, instancePtr->bitmap, drawable, instancePtr->gc,
941 if (instancePtr->bitmap != None) {
942 Tk_FreePixmap(display, instancePtr->bitmap);
988 panic("tried to delete bitmap image when instances still exist");