Lines Matching defs:textWidth
3477 int imageWidth, imageHeight, textWidth = 0, textHeight = 0;
3502 textWidth = Tk_TextWidth(tkfont,
3517 int fullWidth = (imageWidth > textWidth ? imageWidth : textWidth);
3521 textXOffset = (fullWidth - textWidth)/2;
3527 textXOffset = (fullWidth - textWidth)/2;
3550 imageXOffset = textWidth + 2 - menuTextTrailingEdgeMargin;
3553 textXOffset = (fullWidth - textWidth)/2;
3694 int textWidth = 0, textHeight = fmPtr->linespace;
3700 textWidth = Tk_TextWidth(tkfont,
3712 if (textWidth > *widthPtr) {
3713 *widthPtr = textWidth;
3722 *widthPtr += textWidth + 2 - margin;
3729 *widthPtr += textWidth + 2 - margin;
3735 if (textWidth > *widthPtr) {
3736 *widthPtr = textWidth;
3751 *widthPtr = textWidth;