Searched refs:image (Results 1 - 14 of 14) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkImgUtil.c4 * This file contains image related utility functions.
24 * This function takes an image and copies the data into an
38 TkAlignImageData(image, alignment, bitOrder)
39 XImage *image; /* Image to be aligned. */
48 if (image->bits_per_pixel != 1) {
49 panic("TkAlignImageData: Can't handle image depths greater than 1.");
56 dataWidth = image->bytes_per_line;
61 data = ckalloc(dataWidth * image->height);
64 for (i = 0; i < image->height; i++) {
65 srcPtr = &image
[all...]
H A DtkCanvImg.c4 * This file implements image items for canvas widgets.
19 * The structure below defines the record for each image item.
25 Tk_Canvas canvas; /* Canvas containing the image. */
27 * image. */
28 Tk_Anchor anchor; /* Where to anchor image relative to
30 char *imageString; /* String describing -image option (malloc-ed).
31 * NULL means no image right now. */
32 Tk_Image image; /* Image to display in window, or NULL if member in struct:ImageItem
33 * no image at present. */
47 {TK_CONFIG_STRING, "-image", (cha
261 Tk_Image image; local
[all...]
H A DtkMenubutton.c51 char *imageString; /* Name of image to display (malloc'ed), or
54 Tk_Image image; /* Image to display in window, or NULL if member in struct:__anon410
233 {TK_CONFIG_STRING, "-image", "image", "Image",
356 mbPtr->image = NULL;
517 if (mbPtr->image != NULL) {
518 Tk_FreeImage(mbPtr->image);
571 Tk_Image image;
672 * Get the image for the widget, if there is one. Allocate the
673 * new image befor
567 Tk_Image image; local
[all...]
H A DtkImage.c4 * This module implements the image protocol, which allows lots
27 * "re-get" the image later if the manager
30 * the image is eventually freed tkwin may
33 /* Master for this image (identifiers image
36 /* One word argument to pass to image manager
37 * when dealing with this image instance. */
39 /* Code in widget to call when image changes
43 struct Image *nextPtr; /* Next in list of all image instances
49 * For each image maste
[all...]
H A DtkButton.c51 char *imageString; /* Name of image to display (malloc'ed), or
54 Tk_Image image; /* Image to display in window, or NULL if member in struct:__anon390
56 char *selectImageString; /* Name of image to display when selected
59 * or NULL if none. Ignored if image is
295 {TK_CONFIG_STRING, "-image", "image", "Image",
543 butPtr->image = NULL;
801 if (butPtr->image != NULL) {
802 Tk_FreeImage(butPtr->image);
866 Tk_Image image;
861 Tk_Image image; local
[all...]
H A DtkMenu.c39 char *imageString; /* Name of image to display (malloc'ed), or
42 Tk_Image image; /* Image to display in menu entry, or NULL if member in struct:MenuEntry
44 char *selectImageString; /* Name of image to display when selected
47 * or NULL if none. Ignored if image is
193 {TK_CONFIG_STRING, "-image", (char *) NULL, (char *) NULL,
1102 if (mePtr->image != NULL) {
1103 Tk_FreeImage(mePtr->image);
1106 Tk_FreeImage(mePtr->image);
1327 Tk_Image image;
1504 * counts don't go to zero and cause image dat
1321 Tk_Image image; local
[all...]
H A DtkInt.h392 Tcl_HashTable imageTable; /* Maps from image names to Tk_ImageMaster
639 EXTERN char * TkAlignImageData _ANSI_ARGS_((XImage *image,
792 GC gc, XImage* image, int src_x, int src_y,
H A Dtk.h759 * The following structure represents a particular type of image
760 * (bitmap, xpm image, etc.). It provides information common to
762 * of procedures in the image manager that respond to various
763 * events. Each image manager is represented by one of these
768 char *name; /* Name of image type. */
770 /* Procedure to call to create a new image
776 /* Call to draw image, in response to
780 * image. */
782 /* Procedure to call to delete image. It
785 * image
[all...]
H A DtkImgPhoto.c29 extern _XInitImageFuncPtrs _ANSI_ARGS_((XImage *image));
63 * The set of colors required to display a photo image in a window depends on:
67 * - the gamma value for the image.
134 * Definition of the data associated with each photo image master.
138 Tk_ImageMaster tkMaster; /* Tk's token for image master. NULL means
139 * the image is being deleted. */
141 * application using this image. */
142 Tcl_Command imageCmd; /* Token for image command (used to delete
143 * it when the image goes away). NULL means
144 * the image comman
[all...]
/ast/src/lib/libdll/
H A Ddlfcn.c326 NSImage image; member in struct:Dll_s
339 static const char e_static[] = T("image statically linked");
367 NSObjectFileImage image; local
390 switch (NSCreateObjectFileImageFromFile(path, &image))
393 dll->module = NSLinkModule(image, path, (mode & RTLD_LAZY) ? 0 : NSLINKMODULE_OPTION_BINDNOW);
394 NSDestroyObjectFileImage(image);
402 dll->image = NSAddImage(path, 0);
403 if (!dll->image)
448 else if (dll->image)
450 if (!NSIsSymbolNameDefinedInImage(dll->image, nam
[all...]
/ast/src/lib/libtk/unix/
H A DtkUnixPort.h114 #define TkPutImage(colors, ncolors, display, pixels, gc, image, destx, desty, srcx, srcy, width, height) \
115 XPutImage(display, pixels, gc, image, destx, desty, srcx, \
/ast/src/cmd/dsslib/xml/
H A Dxml.c79 int image; /* keep current record image */ member in struct:File_s
111 int image; member in struct:Xml_s
337 if (f->image && !f->rec)
409 if (f->image && !f->rec)
502 xml->image = !!(file->dss->flags & DSS_WRITE);
573 f->image = xml->image;
692 if (f->image && !f->rec)
/ast/src/lib/libtk/
H A DMakefile245 doc/image.n \
/ast/src/cmd/dsslib/flat/
H A Dflat.c162 char* image; /* original record data buffer */ member in struct:Record_s
416 * modify a copy of the input record image
985 r->image = r->buf = r->cur = s;
1028 return sfwrite(file->io, r->image, r->siz) == r->siz ? 0 : -1;

Completed in 40 milliseconds