Lines Matching refs:font

169 	font = *be_plain_font;
170 font_flags = font.Flags();
196 link.Attach<uint32>(font.FamilyAndStyle());
199 link.Attach<float>(font.Size());
202 link.Attach<float>(font.Shear());
205 link.Attach<float>(font.Rotation());
208 link.Attach<float>(font.FalseBoldWidth());
211 link.Attach<uint8>(font.Spacing());
214 link.Attach<uint8>(font.Encoding());
217 link.Attach<uint16>(font.Face());
220 link.Attach<uint32>(font.Flags());
293 // set view's font state
295 font.SetFamilyAndStyle(info.fontID);
296 font.SetSize(info.fontSize);
297 font.SetShear(info.fontShear);
298 font.SetRotation(info.fontRotation);
299 font.SetFalseBoldWidth(info.fontFalseBoldWidth);
300 font.SetSpacing(info.fontSpacing);
301 font.SetEncoding(info.fontEncoding);
302 font.SetFace(info.fontFace);
303 font.SetFlags(info.fontFlags);
468 BFont font;
469 font.SetFamilyAndStyle(family, style);
473 font.SetSize(size);
478 font.SetShear(shear);
483 font.SetRotation(rotation);
485 SetFont(&font, B_FONT_FAMILY_AND_STYLE | B_FONT_SIZE
626 BFont font;
627 GetFont(&font);
631 font.GetFamilyAndStyle(&family, &style);
636 ret = data->AddFloat("_fflt", font.Size());
638 ret = data->AddFloat("_fflt", font.Shear());
640 ret = data->AddFloat("_fflt", font.Rotation());
2866 BView::SetFont(const BFont* font, uint32 mask)
2868 if (!font || mask == 0)
2872 fState->font = *font;
2876 fState->font.SetFamilyAndStyle(font->FamilyAndStyle());
2879 fState->font.SetSize(font->Size());
2882 fState->font.SetShear(font->Shear());
2885 fState->font.SetRotation(font->Rotation());
2888 fState->font.SetFalseBoldWidth(font->FalseBoldWidth());
2891 fState->font.SetSpacing(font->Spacing());
2894 fState->font.SetEncoding(font->Encoding());
2897 fState->font.SetFace(font->Face());
2900 fState->font.SetFlags(font->Flags());
2918 BView::GetFont(BFont* font) const
2925 // TODO: add a font getter!
2929 *font = fState->font;
2936 fState->font.GetHeight(height);
2943 BFont font;
2944 font.SetSize(size);
2946 SetFont(&font, B_FONT_SIZE);
2953 return fState->font.StringWidth(string);
2960 return fState->font.StringWidth(string, length);
2968 fState->font.GetStringWidths(const_cast<const char**>(stringArray),
2976 fState->font.TruncateString(string, mode, width);
5026 // font encoding per view (it's supposed to be converted by
6867 fState->font.PrintToStream();