Lines Matching +defs:tab +defs:width
230 int width = 0;
237 Position *tab;
239 width = x;
244 tab = sink->text_sink.tabs;
247 if (x < *tab)
248 return (*tab - x);
251 x -= *tab;
253 tab = sink->text_sink.tabs;
254 if (width == x)
258 ++tab;
273 width = XwcGetColumn(fontset->font_charset, fontset->num_of_fonts, c) *
274 fontset->font_struct_list[0]->min_bounds.width;
281 width = XwcTextEscapement(fontset, &c, 1);
283 return (width);
303 * The width of the text painted
311 unsigned int width = (unsigned)XwcTextEscapement(fontset, buf, len);
313 if (((int)width) <= -x) /* Don't draw if we can't see it */
314 return (width);
320 width, ext->max_logical_extent.height);
327 return (width);
379 unsigned int width;
385 width = (unsigned)CharWidth(sink, fontset, x, _Xaw_atowc(XawTAB));
389 width, ext->max_logical_extent.height);
394 width,
396 x = (int)((unsigned)x + width);
430 rect->width = (unsigned short)CharWidth(sink, sink->multi_sink.fontset, 0, _Xaw_atowc(XawSP));
583 FindPosition(Widget w, XawTextPosition fromPos, int fromx, int width,
603 for (i = 0, idx = fromPos; rWidth <= width; i++, idx++) {
619 && rWidth <= width) {
626 if (rWidth > width && idx > fromPos) {
644 Resolve(Widget w, XawTextPosition pos, int fromx, int width,
650 FindPosition(w, pos, fromx, width, False, pos_return, &resWidth, &resHeight);
759 int width, height;
766 width = (int)XtWidth(ctx) -
770 rect.width = (unsigned short)width;
774 if (width >= 0 && height >= 0)
781 if (width >= 0 && height >= 0)
788 if (width >= 0 && height >= 0)
934 * Find the figure width of the current font
942 figure_width = (unsigned long)font->per_char['$' - font->min_char_or_byte2].width;
944 figure_width = (unsigned long)font->max_bounds.width;