Searched refs:fheight (Results 1 – 5 of 5) sorted by relevance
127 font_height fheight; in Update() local128 font->GetHeight(&fheight); in Update()130 fBaselineOffset = 2 + ceilf(fheight.ascent + fheight.leading / 2); in Update()132 SetHeight(ceilf(fheight.ascent) + ceilf(fheight.descent) in Update()133 + ceilf(fheight.leading) + 4); in Update()
63 font_height fheight; in GetContentSize() local64 be_plain_font->GetHeight(&fheight); in GetContentSize()66 *height = fheight.ascent + fheight.descent + fheight.leading - 2; in GetContentSize()
240 font_height fheight; in Update() local241 font->GetHeight(&fheight); in Update()243 float lineHeight = ceilf(fheight.ascent) + ceilf(fheight.descent) in Update()244 + ceilf(fheight.leading); in Update()246 fBaselineOffset = 2 + ceilf(fheight.ascent + fheight.leading / 2); in Update()
350 font_height fheight; in DrawItem() local351 owner->GetFontHeight(&fheight); in DrawItem()355 rect.top + fheight.ascent + 2 + floorf(fheight.leading / 2))); in DrawItem()
30 font_height fheight; in FontHeight() local31 font.GetHeight(&fheight); in FontHeight()32 return ceilf(fheight.ascent + fheight.descent + fheight.leading); in FontHeight()