Searched refs:font (Results 126 - 150 of 293) sorted by relevance

1234567891011>>

/haiku/headers/libs/agg/
H A Dagg_font_cache_manager.h157 void font(const char* font_signature, bool reset_cache = false) function in class:agg::font_cache_pool
188 const font_cache* font() const function in class:agg::font_cache_pool
365 m_fonts.font(m_engine.font_signature(), true);
386 m_fonts.font(m_engine.font_signature());
/haiku/src/apps/icon-o-matic/generic/property/view/
H A DPropertyItemView.cpp68 BFont font; local
69 GetFont(&font);
72 font.TruncateString(&truncated, B_TRUNCATE_MIDDLE, fLabelWidth - 10.0);
75 font.GetHeight(&fh);
/haiku/src/apps/haikudepot/textview/
H A DCharacterStyle.h20 bool SetFont(const BFont& font);
/haiku/src/servers/notification/
H A DNotificationView.h59 BFont font; member in struct:NotificationView::LineInfo
/haiku/src/apps/pulse/
H A DCPUButton.cpp168 BFont font; local
169 GetFont(&font);
170 int label_width = (int)font.StringWidth(Label());
174 font.GetHeight(&fh);
/haiku/src/servers/app/
H A DServerPicture.h54 void WriteFontState(const ServerFont& font,
H A DWorkspacesView.cpp263 const ServerFont& font = fDrawState->Font(); local
265 font.TruncateString(&title, B_TRUNCATE_END, fillFrame.Width() - 4);
267 font.GetHeight(fontHeight);
274 float width = font.StringWidth(title.String(), title.Length());
323 ServerFont font = fDrawState->Font(); local
324 font.SetSize(fWindow->ServerWindow()->App()->PlainFont().Size());
327 if (font.Size() > reducedSize)
328 font.SetSize(reducedSize);
329 fDrawState->SetFont(font);
330 drawingEngine->SetFont(font);
[all...]
H A DServerFont.cpp159 \param font ServerFont to copy
161 ServerFont::ServerFont(const ServerFont &font) argument
165 *this = font;
178 \brief Returns a copy of the specified font
179 \param The font to copy from.
180 \return A copy of the specified font
183 ServerFont::operator=(const ServerFont& font) argument
185 fSize = font.fSize;
186 fRotation = font.fRotation;
187 fShear = font
[all...]
/haiku/src/apps/mail/
H A DEnclosures.h96 virtual void Update(BView* owner, const BFont* font);
/haiku/src/kits/tracker/
H A DDraggableContainerIcon.cpp119 BFont font; local
120 GetFont(&font);
123 font.GetHeight(&fontHeight);
128 font.StringWidth(model->Name()) + 4), height);
H A DStatusWindow.cpp659 BFont font; local
660 GetFont(&font);
661 float normalFontSize = font.Size();
688 font.SetSize(smallFontSize);
689 SetFont(&font, B_FONT_SIZE);
694 font.SetSize(normalFontSize);
695 SetFont(&font, B_FONT_SIZE);
719 BFont font; local
720 GetFont(&font);
721 float oldSize = font
[all...]
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowSaver.cpp470 SlideShowSaver::LayoutCaption(BView *view, BFont &font, BPoint &pos, BRect &rect) argument
475 font = be_plain_font;
476 width = font.StringWidth(fCaption.String()) + 1; // 1 for text shadow
477 font.GetHeight(&fontHeight);
493 BFont font; local
496 LayoutCaption(view, font, pos, rect);
505 view->SetFont(&font);
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DSliderView.cpp36 BFont font; local
37 GetFont(&font);
39 GetSliderButtonDimensions(Max(), FormatString(), &font, local
318 BFont* font,
321 if (font) {
325 font->GetHeight(&fh);
328 width = 5.0 + ceilf(font->StringWidth(label)) + 5.0;
317 GetSliderButtonDimensions(int32 max, const char* formatString, BFont* font, float& width, float& height) argument
/haiku/src/apps/serialconnect/libvterm/src/
H A Dpen.c155 state->pen.font = 0; setpenattr_int( state, VTERM_ATTR_FONT, 0);
177 setpenattr_int( state, VTERM_ATTR_FONT, state->pen.font);
263 case 15: case 16: case 17: case 18: case 19: // Select font
264 state->pen.font = CSI_ARG(args[argi]) - 10;
265 setpenattr_int(state, VTERM_ATTR_FONT, state->pen.font);
395 if(state->pen.font)
396 args[argi++] = 10 + state->pen.font;
452 val->number = state->pen.font;
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp314 BFont font(be_plain_font);
316 font = run->font;
321 font.GetHeight(&height);
330 font.GetHeight(&height);
338 charWidth = font.StringWidth(str.String() + i, charLen);
344 font.GetGlyphShapes((str.String() + i), 1, glyphs);
/haiku/src/apps/webpositive/
H A DDownloadProgressView.cpp169 BFont font; local
170 GetFont(&font);
171 float size = ceilf(font.Size() * 0.8);
172 font.SetSize(max_c(8, size));
173 SetFont(&font, B_FONT_SIZE);
292 BFont font; local
293 fInfoView->GetFont(&font);
294 float fontSize = font.Size() * 0.8f;
295 font.SetSize(max_c(8.0f, fontSize));
296 fInfoView->SetFont(&font, B_FONT_SIZ
[all...]
/haiku/src/tests/servers/app/painter/
H A DPainter.h54 void SetFont(const BFont& font);
55 void SetFont(const ServerFont& font);
61 inline void SetFont(const BFont* font) argument
62 { if (font) SetFont(*font); }
313 // font file, it uses the FontManager to locate a file
/haiku/headers/private/interface/
H A DColumnListView.h341 void GetFont(BFont* font) const
342 { BView::GetFont(font); }
343 virtual void SetFont(const BFont* font,
358 const BFont* font,
362 BFont* font) const;
/haiku/headers/os/interface/
H A DFont.h22 // font spacing
37 // font flags
54 // font encodings
78 // font face flags
178 BFont(const BFont& font);
179 BFont(const BFont* font);
279 BFont& operator=(const BFont& font);
280 bool operator==(const BFont& font) const;
281 bool operator!=(const BFont& font) const;
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp707 // add extra height for dragger: fixed, and insets: font-dependent
746 // determine initial line count using current font
1032 // based on font size
1405 BFont font(be_bold_font);
1406 //font.SetSize(be_bold_font->Size());
1407 font.SetFace(B_BOLD_FACE | B_ITALIC_FACE);
1409 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &fHaikuYellowColor);
1521 BFont font(be_bold_font);
1522 font.SetSize(be_bold_font->Size());
1523 font
[all...]
/haiku/src/apps/drivesetup/
H A DPartitionList.cpp176 BFont font; local
177 parent->GetFont(&font);
178 width = font.StringWidth(bitmapField->String()) + 3 * sTextMargin;
184 BFont font; local
185 parent->GetFont(&font);
186 width = font.StringWidth(stringField->String()) + 2 * sTextMargin;
202 BFont font; local
203 parent->GetFont(&font);
204 sTextMargin = ceilf(font.Size() * 0.8);
/haiku/src/apps/diskprobe/
H A DDataView.cpp119 // also sets the fixed font
873 BFont font = be_fixed_font; local
874 font.SetSize(size);
876 float charWidth = font.StringWidth("w");
985 // adapt the font size to fit in the view's bounds
1001 BFont font = be_fixed_font; local
1002 font.SetSize(size);
1003 SetFont(&font);
1367 DataView::SetFont(const BFont *font, uint32 properties) argument
1369 // Even in a full and hal fixed font, th
1390 BFont font; local
1412 BFont font = be_fixed_font; local
[all...]
/haiku/src/kits/interface/
H A DAboutWindow.cpp169 BFont font; local
170 fNameView->GetFont(&font);
171 font.SetFace(B_BOLD_FACE);
172 font.SetSize(font.Size() * 2.0);
173 fNameView->SetFont(&font, B_FONT_FAMILY_AND_STYLE | B_FONT_SIZE
H A DView.cpp169 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
468 BFont font; local
626 BFont font; local
2866 SetFont(const BFont* font, uint32 mask) argument
2943 BFont font; local
[all...]
/haiku/src/apps/haikudepot/ui/
H A DPackageListView.cpp573 BFont font; local
574 parent->GetFont(&font);
575 width = font.StringWidth(packageIconAndTitleField->String())
580 BFont font; local
581 parent->GetFont(&font);
582 width = font.StringWidth(stringField->String()) + 2 * sTextMargin;
599 BFont font; local
600 parent->GetFont(&font);
601 sTextMargin = ceilf(font.Size() * 0.8);
741 BFont font(be_plain_fon
[all...]

Completed in 220 milliseconds

1234567891011>>