Lines Matching refs:sink
184 TextSinkObject sink = (TextSinkObject) new;
186 sink->text_sink.tab_count = 0; /* Initialize the tab stops. */
187 sink->text_sink.tabs = NULL;
188 sink->text_sink.char_tabs = NULL;
201 TextSinkObject sink = (TextSinkObject) w;
203 if (sink->text_sink.tabs != NULL)
204 XtFree((char *) sink->text_sink.tabs);
288 * Description: Clears a region of the sink to the background color.
403 TextSinkObject sink = (TextSinkObject) w;
406 font_height = sink->text_sink.font->ascent + sink->text_sink.font->descent;
424 TextSinkObject sink = (TextSinkObject) w;
426 return(lines * (sink->text_sink.font->ascent +
427 sink->text_sink.font->descent));
444 TextSinkObject sink = (TextSinkObject) w;
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;
553 * Description: Clears a region of the sink to the background color.