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

/haiku/src/add-ons/screen_savers/message/
H A DMessage.cpp242 float strWidth = offscreen.StringWidth(message->String()); local
243 int drawingLength = (int) (strLength * (width / strWidth));
/haiku/src/apps/diskusage/
H A DPieView.cpp386 float strWidth = StringWidth(task); local
387 bx = (b.left + b.Width() - strWidth) / 2.0;
/haiku/src/kits/interface/
H A DTextView.cpp4031 float strWidth = 0.0; local
4071 strWidth += deltaWidth;
4073 if (strWidth >= *inOutWidth) {
4086 strWidth -= deltaWidth;
4089 strWidth += _StyledWidth(offset, deltaBeforeWhitespace, NULL, NULL);
4090 if (strWidth >= *inOutWidth) {
4109 strWidth = 0.0;
4114 strWidth += _StyledWidth(current, offset - current, &ascent,
4116 if (strWidth >= *inOutWidth) {

Completed in 134 milliseconds