Searched refs:pixels (Results 1 - 7 of 7) sorted by relevance

/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/lib/libtk/library/demos/
H A Druler.tcl71 $c addtag well withtag [rulerMkTab $c [winfo pixels $c 13.5c] \
72 [winfo pixels $c .65c]]
/ast/src/lib/libtk/generic/
H A DtkCmds.c986 double mm, pixels;
1000 pixels = mm * WidthOfScreen(Tk_Screen(window))
1002 Tcl_PrintDouble(interp, pixels, interp->result);
1076 } else if ((c == 'p') && (strncmp(argv[1], "pixels", length) == 0)
1078 int pixels;
1082 argv[0], " pixels window number\"", (char *) NULL);
1089 if (Tk_GetPixels(interp, window, argv[3], &pixels) != TCL_OK) {
1092 sprintf(interp->result, "%d", pixels);
1343 "pixels, pointerx, pointerxy, pointery, reqheight, ",
974 double mm, pixels; local
1066 int pixels; local
H A DtkImgPhoto.c56 * The maximum number of pixels to transmit to the server in a
199 Pixmap pixels; /* X pixmap containing dithered image. */ member in struct:PhotoInstance
202 XImage *imagePtr; /* Image structure for converted pixels. */
1551 if ((instancePtr->pixels == None) || (instancePtr->error == NULL)
1675 instancePtr->pixels = None;
1814 if (instancePtr->pixels == None) {
1828 XCopyArea(display, instancePtr->pixels, drawable, instancePtr->gc,
1971 * image's size to `width' x `height' pixels.
2134 * image's size to `width' x `height' pixels.
2162 || (instancePtr->pixels
2528 unsigned long *pixels; local
[all...]
H A DtkMenubutton.c73 int highlightWidth; /* Width in pixels of highlight to draw
110 * pixels for bitmaps. In this case the actual
113 int wrapLength; /* Line length (in pixels) at which to wrap
116 int padX, padY; /* Extra space around text or bitmap (pixels
122 * in pixels. */
124 * in pixels. */
127 int indicatorHeight; /* Height of indicator in pixels. This same
130 int indicatorWidth; /* Width of indicator in pixels, including
1089 int width, height, mm, pixels;
1128 pixels
1081 int width, height, mm, pixels; local
[all...]
H A DtkScrollbar.c41 * in pixels. */
65 int highlightWidth; /* Width in pixels of highlight to draw
169 * Minimum slider length, in pixels (designed to make sure that the slider
457 int xDelta, yDelta, pixels, length;
470 pixels = yDelta;
474 pixels = xDelta;
481 fraction = ((double) pixels / (double) length);
455 int xDelta, yDelta, pixels, length; local
H A DtkTextDisp.c41 int lMargin1; /* Left margin, in pixels, for first display
43 int lMargin2; /* Left margin, in pixels, for second and
45 int offset; /* Offset in pixels of baseline, relative to
49 int rMargin; /* Right margin, in pixels. */
111 int height; /* Height of line, in pixels. */
113 * pixels. */
121 int length; /* Total length of line, in pixels. */
206 * number of pixels off-screen to the left. */
207 int maxLength; /* Length in pixels of longest line that's
752 int tabSize; /* Number of pixels consume
3421 int pixels, count; local
[all...]

Completed in 31 milliseconds