Searched defs:numLines (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkFont.c875 int thisWidth, maxWidth, numLines;
882 for (numLines = 1, p = string; (p - string) < numChars; numLines++) {
902 *heightPtr = numLines * (fontStructPtr->ascent + fontStructPtr->descent);
866 int thisWidth, maxWidth, numLines; local
H A DtkMessage.c527 int width, inc, height, numLines;
562 for (numLines = 1, p = msgPtr->string; ; numLines++) {
591 height = numLines * (msgPtr->fontPtr->ascent
607 msgPtr->msgHeight = numLines * (msgPtr->fontPtr->ascent
522 int width, inc, height, numLines; local
H A DtkCanvText.c74 int numLines; /* Number of structs at *linePtr. */ member in struct:TextItem
246 textPtr->numLines = 0;
521 int numLines, wrapPixels, maxLinePixels, leftX, topY, y;
544 for (numLines = 0; (numLines < MAX_LINES); numLines++) {
552 lineStart[numLines] = p;
553 lineChars[numLines] = numChars;
554 linePixels[numLines] = numPixels;
576 numLines
516 int numLines, wrapPixels, maxLinePixels, leftX, topY, y; local
[all...]
H A DtkText.c1510 int numLines, startingLine, startingChar, lineNum, firstChar, lastChar;
1595 numLines = TkBTreeNumLines(textPtr->tree);
1598 if (startingLine >= numLines) {
1613 if (!backwards && (stopLine == numLines)) {
1614 stopLine = numLines-1;
1641 if (lineNum >= numLines) {
1827 lineNum = numLines-1;
1835 } else if (lineNum >= numLines) {
1498 int numLines, startingLine, startingChar, lineNum, firstChar, lastChar; local
H A DtkTextBTree.c55 int numLines; /* Total number of lines (leaves) in member in struct:Node
235 rootPtr->numLines = 2;
492 nodePtr->numLines += changeToLineCount;
704 nodePtr->numLines--;
776 nodePtr->numLines--;
838 if ((line < 0) || (line >= nodePtr->numLines)) {
849 nodePtr->numLines <= linesLeft;
854 linesLeft -= nodePtr->numLines;
1053 index += nodePtr2->numLines;
1958 searchPtr->linesLeft -= nodePtr->numLines;
2666 int numChildren, numLines, toggleCount, minChildren; local
[all...]

Completed in 26 milliseconds