NAMETk_ComputeTextLayout, Tk_FreeTextLayout, Tk_DrawTextLayout, Tk_UnderlineTextLayout, Tk_PointToChar, Tk_CharBbox, Tk_DistanceToTextLayout, Tk_IntersectTextLayout, Tk_TextLayoutToPostscript − routines to measure and display single-font, multi-line, justified text. SYNOPSIS#include <tk.h>Tk_TextLayout
Tk_ComputeTextLayout(tkfont, string, numChars, wrapLength, justify, flags, widthPtr, heightPtr)void
Tk_FreeTextLayout(layout)void
Tk_DrawTextLayout(display, drawable, gc, layout, x, y, firstChar, lastChar)void
Tk_UnderlineTextLayout(display, drawable, gc, layout, x, y, underline)int
Tk_PointToChar(layout, x, y)int
Tk_CharBbox(layout, index, xPtr, yPtr, widthPtr, heightPtr)int
Tk_DistanceToTextLayout(layout, x, y)int
Tk_IntersectTextLayout(layout, x, y, width, height)void
Tk_TextLayoutToPostscript(interp, layout)ARGUMENTS
. el .TP 15
Tk_Font tkfont(in) Font to use when constructing and displaying a text layout. The tkfont must remain valid for the lifetime of the text layout. Must have been returned by a previous call to Tk_GetFont.