Lines Matching defs:font
140 // Get font families
201 // Set the basic font parameters, including random font family
202 BFont font;
203 offscreen.GetFont(&font);
204 font.SetFace(B_BOLD_FACE);
205 font.SetFamilyAndStyle(
207 offscreen.SetFont(&font);
222 // Randomly set font size and shear
223 BFont font;
224 offscreen.GetFont(&font);
226 font.SetSize(fontSize);
229 font.SetShear((float) ((rand() % 135) + (rand() % 45)));
231 font.SetShear(90.0);
232 offscreen.SetFont(&font);
241 // See how wide this string is with the current font
259 BFont font(be_fixed_font);
260 font.SetSize(14.0);
261 offscreen.SetFont(&font);
263 font.GetHeight(&fontHeight);
272 font.StringWidth(lines.StringAt(longestLine).String());