Lines Matching refs:text_sink
56 #define offset(field) XtOffset(TextSinkObject, text_sink.field)
186 sink->text_sink.tab_count = 0; /* Initialize the tab stops. */
187 sink->text_sink.tabs = NULL;
188 sink->text_sink.char_tabs = NULL;
203 if (sink->text_sink.tabs != NULL)
204 XtFree((char *) sink->text_sink.tabs);
224 if (w->text_sink.font != old_w->text_sink.font) {
225 (*class->text_sink_class.SetTabs)(new, w->text_sink.tab_count,
226 w->text_sink.char_tabs);
229 if (w->text_sink.foreground != old_w->text_sink.foreground)
406 font_height = sink->text_sink.font->ascent + sink->text_sink.font->descent;
426 return(lines * (sink->text_sink.font->ascent +
427 sink->text_sink.font->descent));
448 XFontStruct *font = sink->text_sink.font;
464 if (tab_count > sink->text_sink.tab_count) {
465 sink->text_sink.tabs = (Position *) XtRealloc((caddr_t)sink->text_sink.tabs,
467 sink->text_sink.char_tabs = (short *) XtRealloc(
468 (caddr_t) sink->text_sink.char_tabs,
473 sink->text_sink.tabs[i] = tabs[i] * figure_width;
474 sink->text_sink.char_tabs[i] = tabs[i];
477 sink->text_sink.tab_count = tab_count;