Searched refs:fFontWidth (Results 1 - 4 of 4) sorted by relevance

/haiku/src/apps/serialconnect/
H A DTermView.h63 int fFontWidth; member in class:TermView
H A DTermView.cpp72 int x = updatedChars.start_col * fFontWidth + kBorderSpacing;
126 x + width * fFontWidth - 1,
152 x += width * fFontWidth;
195 *width = kDefaultWidth * fFontWidth + 2 * kBorderSpacing - 1;
335 fFontWidth = (int)be_fixed_font->StringWidth("X");
367 rect.start_col = (int)floor(pixels.left / fFontWidth);
368 rect.end_col = (int)ceil(pixels.right / fFontWidth);
392 rect.left = glyphs.start_col * fFontWidth;
393 rect.right = glyphs.end_col * fFontWidth;
404 glyphs.start_col, rect.left, fFontWidth,
[all...]
/haiku/src/apps/terminal/
H A DTermView.cpp286 fFontWidth = 0;
513 return TermPos(p.x >= 0 ? (int32)p.x / fFontWidth : -1, _LineAt(p.y));
521 return BPoint(fFontWidth * pos.x, _LineOffset(pos.y));
529 BRect rect(x1 * fFontWidth, _LineOffset(y1),
530 (x2 + 1) * fFontWidth * 2 - 1, _LineOffset(y2 + 1) - 1);
541 *width = fColumns * fFontWidth - 1;
561 *_width = fFontWidth;
586 return BRect(0, 0, fColumns * fFontWidth, fRows * fFontHeight);
614 BRect rect(0, 0, fColumns * fFontWidth, fRows * fFontHeight);
649 int columns = int((rect.IntegerWidth() + 1) / fFontWidth);
[all...]
H A DTermView.h284 float fFontWidth; member in class:TermView

Completed in 61 milliseconds