Searched refs:charWidth (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkTextDisp.c1431 + textPtr->charWidth - 1)/textPtr->charWidth;
1438 pixelOffset = dInfoPtr->newCharOffset * textPtr->charWidth;
3198 dInfoPtr->newCharOffset = (x - lineWidth/2)/textPtr->charWidth;
3200 dInfoPtr->newCharOffset -= ((-delta) + textPtr->charWidth - 1)
3201 / textPtr->charWidth;
3207 dInfoPtr->newCharOffset = (x - lineWidth/2)/textPtr->charWidth;
3209 dInfoPtr->newCharOffset += (delta + textPtr->charWidth - 1)
3210 / textPtr->charWidth;
3277 newOffset = ((fraction * dInfoPtr->maxLength) / textPtr->charWidth)
[all...]
H A DtkText.c266 textPtr->charWidth = 1;
895 textPtr->charWidth = XTextWidth(textPtr->fontPtr, "0", 1);
896 if (textPtr->charWidth <= 0) {
897 textPtr->charWidth = 1;
901 textPtr->width * textPtr->charWidth + 2*textPtr->borderWidth
909 textPtr->charWidth, charHeight);
H A DtkText.h462 int charWidth; /* Width of average character in default member in struct:TkText

Completed in 22 milliseconds