Lines Matching defs:string

132  *	Given a string name for a font, map the name to an XFontStruct
137 * for the desired font. If an error occurs in mapping the string
216 * Given a font, return a textual string identifying it.
220 * value is the "string" that was used to create it.
221 * Otherwise the return value is a string giving the X
223 * string is only guaranteed to persist up until the next
239 static char string[20];
243 sprintf(string, "font id 0x%x", (unsigned int) fontStructPtr->fid);
244 return string;
463 * Measure the number of characters from a string that
550 * Scan the input string one character at a time, until a character
630 * Draw a string of characters on the screen, converting
645 TkDisplayChars(display, drawable, gc, fontStructPtr, string, numChars,
654 char *string; /* Characters to be displayed. */
656 * string. */
657 int x, y; /* Coordinates at which to draw string. */
703 * Scan the string one character at a time. Display control
709 start = string;
710 for (p = string; numChars > 0; numChars--, p++) {
776 * in a given string, using appropriate information for the string's
790 TkUnderlineChars(display, drawable, gc, fontStructPtr, string, x, y,
799 char *string; /* String containing characters to be
802 * string is drawn. */
832 TkMeasureChars(fontStructPtr, string, firstChar, x, (int) 1000000,
834 TkMeasureChars(fontStructPtr, string+firstChar, lastChar+1-firstChar,
849 * display a multi-line string of text.
862 TkComputeTextGeometry(fontStructPtr, string, numChars, wrapLength,
865 char *string; /* String whose dimensions are to be
868 * string. */
872 int *widthPtr; /* Store width of string here. */
873 int *heightPtr; /* Store height of string here. */
882 for (numLines = 1, p = string; (p - string) < numChars; numLines++) {
883 p += TkMeasureChars(fontStructPtr, p, numChars - (p - string), 0,
911 * Display a text string on one or more lines.
917 * The text given by "string" gets displayed at the given location
924 TkDisplayText(display, drawable, fontStructPtr, string, numChars, x, y,
931 char *string; /* String to display; may contain embedded
933 int numChars; /* Number of characters to use from string. */
948 * Work through the string one line at a time. Display each line
957 for (p = string; numChars > 0; ) {