Searched defs:lineHeight (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkCanvText.c522 int lineHeight, i, fudge;
588 lineHeight = textPtr->fontPtr->ascent + textPtr->fontPtr->descent;
598 topY -= (lineHeight * numLines)/2;
604 topY -= lineHeight * numLines;
640 i < numLines; i++, linePtr++, y += lineHeight) {
676 textPtr->header.y2 = topY + numLines*lineHeight;
517 int lineHeight, i, fudge; local
H A DtkListbox.c96 int lineHeight; /* Number of pixels allocated for each line member in struct:__anon409
383 listPtr->lineHeight = 0;
499 y = ((index - listPtr->topIndex)*listPtr->lineHeight)
1097 y = ((i - listPtr->topIndex) * listPtr->lineHeight)
1104 width, listPtr->lineHeight, 0, TK_RELIEF_FLAT);
1123 x, y, listPtr->selBorderWidth, listPtr->lineHeight,
1129 listPtr->selBorderWidth, listPtr->lineHeight,
1139 y + listPtr->lineHeight - listPtr->selBorderWidth,
1246 listPtr->lineHeight = fontHeight + 1 + 2*listPtr->selBorderWidth;
1264 pixelHeight = height*listPtr->lineHeight
[all...]
H A DtkScale.c966 int dummy, lineHeight, valuePixels, x, y, extraSpace;
975 lineHeight = scalePtr->fontPtr->ascent + scalePtr->fontPtr->descent;
980 y += lineHeight + SPACING;
985 y += lineHeight + SPACING;
995 y += lineHeight + 2*SPACING;
960 int dummy, lineHeight, valuePixels, x, y, extraSpace; local
H A DtkTextDisp.c303 int index, int y, int lineHeight, int baseline,
2885 int bottomY, close, lineIndex, lineHeight;
2948 lineHeight = textPtr->fontPtr->ascent + textPtr->fontPtr->descent;
2949 bottomY = (dInfoPtr->y + dInfoPtr->maxY + lineHeight)/2;
2951 if (close < 3*lineHeight) {
2952 close = 3*lineHeight;
2954 close += lineHeight;
3442 int pickPlace, lineNum, type, lineHeight, charsInLine;
3529 lineHeight = textPtr->fontPtr->ascent + textPtr->fontPtr->descent;
3531 pixels = (dInfoPtr->maxY - 2*lineHeight
2868 int bottomY, close, lineIndex, lineHeight; local
3420 int pickPlace, lineNum, type, lineHeight, charsInLine; local
[all...]

Completed in 24 milliseconds