Lines Matching refs:width

129     register int    i, width, nonPrinting;
140 if (x >= XtParent(w)->core.width) return 0;
144 if (*tab < XtParent(w)->core.width)
163 width = font->per_char[c - font->min_char_or_byte2].width;
165 width = font->min_bounds.width;
168 width += CharWidth(w, x, (unsigned char) '^');
170 return width;
179 * Returns: the width of the text painted, or 0.
197 Dimension width = XTextWidth(sink->text_sink.font, (char *) buf, len);
198 max_x = (Position) ctx->core.width;
200 if ( ((int) width) <= -x) /* Don't draw if we can't see it. */
201 return(width);
205 if ( (((Position) width + x) > max_x) && (ctx->text.margin.right != 0) ) {
206 x = ctx->core.width - ctx->text.margin.right;
207 width = ctx->text.margin.right;
211 (unsigned int) width,
216 return(width);
257 Dimension width;
263 width = CharWidth(w, x, (unsigned char) '\t');
267 (unsigned int) width,
270 x += width;
315 rect->width = (unsigned short) insertCursor_width;
317 rect->x = sink->ascii_sink.cursor_x - (short) (rect->width / 2);
343 0, 0, (unsigned int) rect.width, (unsigned int) rect.height,
389 FindPosition(w, fromPos, fromx, width, stopAtWordBreak,
394 int width; /* Desired width. */
398 int *resWidth; /* Actual width used. */
416 for (index = fromPos; *resWidth <= width && index < lastPos; index++) {
423 if ((c == SP || c == TAB) && *resWidth <= width) {
433 if (*resWidth > width && index > fromPos) {
447 Resolve (w, pos, fromx, width, leftPos, rightPos)
450 int fromx, width;
456 FindPosition(w, pos, fromx, width, FALSE, leftPos, &resWidth, &resHeight);