• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/tcl-102/tk84/tk/generic/

Lines Matching +defs:value +defs:start

71     CONST char *start;		/* Pointer to simple string to be displayed.
109 * Tcl, when parsing both option-value format and style-list format font
338 int *maxPtr, CONST char *start, int numChars,
952 * The return value is token for the font, or NULL if an error
993 * The return value is token for the font, or NULL if an error
1169 * The return value is a token for the font that matches objPtr
1284 * The return value is the description that was passed to
1395 * for the screen value. */
1546 * The return value is the pointsize of the given Tk_Font.
1722 * The return value is the width (in pixels) of the given string.
1818 * The return value is a Tk_TextLayout token that holds the
1854 CONST char *start, *end, *special;
1910 for (start = string; start < end; ) {
1911 if (start >= special) {
1921 for (special = start; special < end; special++) {
1937 * string). Process characters between start and special.
1941 if (start < special) {
1942 bytesThisChunk = Tk_MeasureChars(tkfont, start, special - start,
1947 chunkPtr = NewChunk(&layoutPtr, &maxChunks, start,
1950 start += bytesThisChunk;
1955 if ((start == special) && (special < end)) {
1967 NewChunk(&layoutPtr, &maxChunks, start, 1, curX, newX,
1969 start++;
1970 if ((start < end) &&
1981 NewChunk(&layoutPtr, &maxChunks, start, 1, curX, curX,
1983 start++;
1994 while ((start < end) && isspace(UCHAR(*start))) { /* INTL: ISO space */
1996 if ((*start == '\n') || (*start == '\r')) {
2001 if (*start == '\t') {
2005 start++;
2016 end = chunkPtr->start + chunkPtr->numBytes;
2017 bytesThisChunk = start - end;
2031 * Save current line length, then move current position to start of
2057 if (layoutPtr->chunks[layoutPtr->numChunks - 1].start[0] == '\n') {
2058 chunkPtr = NewChunk(&layoutPtr, &maxChunks, start, 0, curX,
2078 layoutPtr->chunks[0].start = string;
2213 firstByte = chunkPtr->start;
2215 firstByte = Tcl_UtfAtIndex(chunkPtr->start, firstChar);
2216 Tk_MeasureChars(layoutPtr->tkfont, chunkPtr->start,
2217 firstByte - chunkPtr->start, -1, 0, &drawX);
2222 lastByte = Tcl_UtfAtIndex(chunkPtr->start, numDisplayChars);
2299 * Any point whose y-value is less that 0 will be considered closest
2300 * to the first character in the text layout; any point whose y-value
2304 * Any point whose x-value is less than 0 will be considered closest
2305 * to the first character on that line; any point whose x-value is
2310 * The return value is the index of the character that was
2312 * the value 0 will always be returned, referring to a hypothetical
2393 n = Tk_MeasureChars((Tk_Font) fontPtr, chunkPtr->start,
2396 return numChars + Tcl_NumUtfChars(chunkPtr->start, n);
2426 return (lastPtr->start + lastPtr->numChars) - layoutPtr->string;
2455 * The return value is 0 if the index did not specify a character
2503 end = Tcl_UtfAtIndex(chunkPtr->start, index);
2505 Tk_MeasureChars(tkfont, chunkPtr->start,
2506 end - chunkPtr->start, -1, 0, &x);
2572 * The return value is 0 if the point (x, y) is inside the text
2574 * return value is the distance in pixels from the point to the
2604 if (chunkPtr->start[0] == '\n') {
2658 * The return value is -1 if the text layout is entirely outside of
2704 if (chunkPtr->start[0] == '\n') {
2812 if (chunkPtr->start[0] == '\t') {
2817 p = chunkPtr->start;
2898 * A standard Tcl return value. If TCL_ERROR is returned, an
2923 char *value;
2937 * that "-xyz" is a bad option, rather than that the value
2942 Tcl_AppendResult(interp, "value for \"",
2951 value = Tcl_GetString(valuePtr);
2952 faPtr->family = Tk_GetUid(value);
3006 * The return value is TCL_OK if the objPtr was non-NULL and
3009 * description of either the current value of a single option, or a
3026 * option whose value is to be
3030 int i, index, start, end;
3036 start = 0;
3043 start = index;
3048 for (i = start; i < end; i++) {
3100 * "-option value [-option value ...]"
3103 * The return value is TCL_ERROR if the object was syntactically
3135 * This may be an XLFD or an "-option value" string.
3173 * Wasn't an XLFD or "-option value" string. Try it as a
3260 NewChunk(layoutPtrPtr, maxPtr, start, numBytes, curX, newX, y)
3263 CONST char *start;
3284 numChars = Tcl_NumUtfChars(start, numBytes);
3286 chunkPtr->start = start;
3308 * Return value is TCL_ERROR if string was not a fully specified XLFD.
3508 * XLFD was set to a non-null, non-don't-care value.
3511 * The return value is 0 if the field in the XLFD was not set and
3617 * As above. The return value is NULL if the font name has no
3726 * The return value is a list with one sublist for each TkFont
3778 * The return value is the byte length of the chunk, the chunk
3807 strncpy(dst, chunkPtr->start, (size_t) numBytesInChunk);