Searched refs:font (Results 1 - 25 of 293) sorted by relevance

1234567891011>>

/haiku/src/apps/terminal/
H A DGlobals.cpp18 IsFontUsable(const BFont& font) argument
20 if (font.IsFixed() || font.IsFullAndHalfFixed())
H A DGlobals.h16 bool IsFontUsable(const BFont& font);
/haiku/src/tests/kits/interface/bprintjob/
H A DPrintTestView.cpp11 BFont font(be_bold_font);
12 font.SetSize(Bounds().Height()/10);
13 font.SetShear(Bounds().Height()/10);
14 font.SetRotation(Bounds().Width()/10);
15 SetFont(&font, B_FONT_ALL);
/haiku/src/tests/kits/interface/bfont/
H A DDumpFontList.cpp35 BFont font; local
36 font.SetFamilyAndStyle(family, style);
37 printf("\t\tcode: 0x%08lx\n", font.FamilyAndStyle());
38 printf("\t\tsize: %f\n", font.Size());
39 printf("\t\tshear: %f\n", font.Shear());
40 printf("\t\trotation: %f\n", font.Rotation());
41 printf("\t\tspacing: %u\n", font.Spacing());
42 printf("\t\tencoding: %u\n", font.Encoding());
44 uint16 face = font.Face();
57 printf("\t\tflags: 0x%08lx\n", font
[all...]
H A DGetBoundingBoxesTest.cpp7 GetBoundingBoxesAsGlyphsTest(BFont *font) argument
12 font->GetBoundingBoxesAsGlyphs(string, numChars, B_SCREEN_METRIC, rectArray);
20 GetBoundingBoxesAsStringTest(BFont *font) argument
26 font->GetBoundingBoxesAsString(string, numChars, B_SCREEN_METRIC, &delta, rectArray);
34 GetBoundingBoxesForStringsTest(BFont *font) argument
42 font->GetBoundingBoxesForStrings(stringArray, numStrings, B_SCREEN_METRIC, &delta, rectArray);
52 BFont font(be_plain_font);
53 //font.SetRotation(45);
54 //font.SetShear(45);
55 font
[all...]
/haiku/src/libs/glut/
H A Dglut_bwidth.c18 glutBitmapWidth(GLUTbitmapFont font, int c) argument
24 fontinfo = (BitmapFontPtr) __glutFont(font);
26 fontinfo = (BitmapFontPtr) font;
39 glutBitmapLength(GLUTbitmapFont font, const unsigned char *string) argument
46 fontinfo = (BitmapFontPtr) __glutFont(font);
48 fontinfo = (BitmapFontPtr) font;
H A Dglut_swidth.c18 glutStrokeWidth(GLUTstrokeFont font, int c) argument
24 fontinfo = (StrokeFontPtr) __glutFont(font);
26 fontinfo = (StrokeFontPtr) font;
39 glutStrokeLength(GLUTstrokeFont font, const unsigned char *string) argument
46 fontinfo = (StrokeFontPtr) __glutFont(font);
48 fontinfo = (StrokeFontPtr) font;
H A Dglut_stroke.c17 glutStrokeCharacter(GLUTstrokeFont font, int c) argument
27 fontinfo = (StrokeFontPtr) __glutFont(font);
29 fontinfo = (StrokeFontPtr) font;
/haiku/src/preferences/virtualmemory/
H A DVirtualMemory.cpp45 BFont font; local
49 view->GetFont(&font);
50 font.SetSize(18);
51 font.SetFace(B_BOLD_FACE);
52 view->SetFontAndColor(0, 13, &font);
/haiku/src/apps/bootmanager/
H A DWizardPageView.cpp86 BFont font; local
87 view->GetFont(&font);
88 font.SetFace(B_BOLD_FACE);
89 font.SetSize(font.Size() + 1);
91 view->SetFontAndColor(0, indexFirstLineEnd, &font, B_FONT_ALL,
94 font.SetFace(B_REGULAR_FACE);
95 font.SetSize(font.Size() - 1);
97 &font, B_FONT_AL
[all...]
/haiku/src/tests/servers/app/text_rendering/
H A Dmain.cpp15 BFont font; local
16 GetFont(&font);
25 font.SetSize(size);
26 SetFont(&font);
/haiku/src/tests/servers/app/font_spacing/
H A Dmain.cpp66 BFont font; local
67 SetFont(&font);
70 font.SetSpacing(B_STRING_SPACING);
71 SetFont(&font);
74 font.SetSpacing(B_CHAR_SPACING);
75 SetFont(&font);
/haiku/src/servers/app/font/
H A DFontCacheEntry.cpp150 FontCacheEntry::Init(const ServerFont& font, bool forceVector) argument
155 glyph_rendering renderingType = _RenderTypeFor(font, forceVector);
157 // TODO: encoding from font
159 bool hinting = font.Hinting();
162 if (font.FontData() != NULL)
163 success = fEngine.Init(NULL, font.FaceIndex(), font.Size(), charMap,
164 renderingType, hinting, (const void*)font.FontData(), font.FontDataSize());
166 success = fEngine.Init(font
392 GenerateSignature(char* signature, size_t signatureSize, const ServerFont& font, bool forceVector) argument
424 _RenderTypeFor(const ServerFont& font, bool forceVector) argument
[all...]
H A DFontCache.h27 FontCacheEntry* FontCacheEntryFor(const ServerFont& font,
/haiku/src/tests/kits/interface/layout/widget_layout_test/tests/
H A DTextViewTest.cpp74 // font
75 fFontCheckBox = new LabeledCheckBox("Use large font",
145 BFont font(be_plain_font);
147 font.SetSize(ceilf(font.Size() * 1.5));
148 fTextView->SetFontAndColor(&font);
150 fTextView->SetFontAndColor(&font);
/haiku/src/add-ons/screen_savers/debugnow/
H A DDebugNow.cpp64 BFont font; local
65 view->GetFont(&font);
66 font.SetSize(viewHeight / 3);
67 view->SetFont(&font);
72 font.GetBoundingBoxesForStrings(&fLine1, 1, B_SCREEN_METRIC, &fDelta,
77 font.GetBoundingBoxesForStrings(&fLine2, 1, B_SCREEN_METRIC, &fDelta,
/haiku/src/servers/app/
H A DDesktopSettings.h44 void GetDefaultPlainFont(ServerFont& font) const;
45 void GetDefaultBoldFont(ServerFont& font) const;
46 void GetDefaultFixedFont(ServerFont& font) const;
91 void SetDefaultPlainFont(const ServerFont& font);
92 void SetDefaultBoldFont(const ServerFont& font);
93 void SetDefaultFixedFont(const ServerFont& font);
/haiku/src/system/kernel/debug/
H A Dframe_buffer_console.cpp36 #include "font.h"
62 FramebufferFont* font; member in struct:console_info
134 if (sConsole.font->glyphWidth > 8) {
135 uint16* data = (uint16*)sConsole.font->data;
136 return data[sConsole.font->glyphHeight * glyph + y];
138 return sConsole.font->data[sConsole.font->glyphHeight * glyph + y];
151 + sConsole.bytes_per_row * row * sConsole.font->glyphHeight
152 + column * sConsole.font->glyphWidth * sConsole.bytes_per_pixel);
157 for (int y = 0; y < sConsole.font
[all...]
/haiku/headers/private/interface/
H A DWidthBuffer.h25 BFont font; // corresponding font member in struct:BPrivate::_width_table_
45 bool FindTable(const BFont* font, int32* outIndex);
46 int32 InsertTable(const BFont* font);
52 int32 tableIndex, const BFont* font);
/haiku/src/apps/soundrecorder/
H A DSoundListView.cpp41 BFont font(be_bold_font);
42 SetFont(&font);
44 font.GetHeight(&height);
45 float width = font.StringWidth(B_TRANSLATE("Drop files here"));
/haiku/src/tests/servers/app/workspace_activated/
H A DWorkspaceActivated.cpp57 BFont font; local
58 font.SetSize(200);
61 font.GetHeight(&fontHeight);
63 SetFont(&font);
/haiku/docs/interface_guidelines/docbook-css/
H A Dstyles.css29 font-family:sans-serif;
32 font-weight:bolder;
70 font-size:xx-large;
76 font-size:xx-large;
81 font-size:xx-large;
85 font-size:x-large;
90 font-size:large;
95 font-size:large;
100 font-size:inherit;
185 font
[all...]
/haiku/src/apps/webpositive/support/
H A DFontSelectionView.h32 const BFont* font = NULL);
41 void SetFont(const BFont& font, float size);
42 void SetFont(const BFont& font);
72 void _AddStylesToMenu(const BFont& font,
/haiku/src/bin/
H A Dlistfont.cpp32 printf("lists currently installed font families.\n");
38 printf("\t-u update font families\n");
87 printf("font families %s.\n", changed ? "changed" : "did not change");
126 BFont font; local
127 font.SetFamilyAndStyle(family, style);
128 printf(" 0x%02x %-4d %-4d", face, font.Spacing(), font.Encoding());
131 font.GetHeight(&fh);
142 int32 tunedCount = font.CountTuned();
149 font
[all...]
/haiku/src/tests/kits/interface/flatten_picture/
H A DTestResultItem.cpp77 BFont font; local
78 owner->GetFont(&font);
80 float baseLine = itemRect.top + (itemRect.IntegerHeight() / 2 + font.Size() / 2);
88 font.SetFace(B_ITALIC_FACE);
89 owner->SetFont(&font);
98 TestResultItem::Update(BView *owner, const BFont *font) argument
100 BListItem::Update(owner, font);
104 width += font->StringWidth(fName.String());
106 width += font->StringWidth(fErrorMessage.String());
163 BFont font; local
176 Update(BView *owner, const BFont *font) argument
[all...]

Completed in 187 milliseconds

1234567891011>>