Tk_ComputeTextLayoutSection: Tk Library Procedures (3) Return to
Main Contents 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. #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) These routines are for
measuring and displaying single-font, multi-line, justified
text. To measure and display simple sin