Searched refs:face (Results 1 - 25 of 39) sorted by relevance

12

/haiku/src/apps/haiku3d/
H A DMeshInstance.cpp82 const Face& face = fMeshReference->GetFace(i); local
84 // switch face mode
85 if (face.vertexCount != lastVertexCount) {
89 if (face.vertexCount == 3)
96 Vector3 lu(face.v[0].p - face.v[1].p);
97 Vector3 lv(face.v[1].p - face.v[2].p);
103 // draw face
105 glTexCoord2f(face
149 const Face& face = fMeshReference->GetFace(i); local
[all...]
/haiku/src/servers/app/font/
H A DFontStyle.cpp28 \param face FreeType handle for the font file after it is loaded - it will
31 FontStyle::FontStyle(node_ref& nodeRef, const char* path, FT_Face face, argument
34 fFreeTypeFace(face),
35 fName(face->style_name),
41 fFace(_TranslateStyleToFace(face->style_name)),
50 fHeight.ascent = (double)face->ascender / face->units_per_EM;
51 fHeight.descent = (double)-face->descender / face->units_per_EM;
56 fHeight.leading = (double)(face
206 UpdateFace(FT_Face face) argument
242 uint16 face = 0; local
[all...]
H A DAppFontManager.cpp68 FT_Face face;
69 FT_Error error = FT_New_Face(gFreeTypeLibrary, path, index | (instance << 16), &face);
73 status = _AddFont(face, nodeRef, path, familyID, styleID);
89 FT_Face face; local
91 index | (instance << 16), &face);
95 status = _AddFont(face, nodeRef, "", familyID, styleID);
H A DFontManager.cpp60 \param face Font handle obtained from FT_Load_Face()
64 FontManager::_GetSupportedCharmap(const FT_Face& face) argument
66 for (int32 i = 0; i < face->num_charmaps; i++) {
67 FT_CharMap charmap = face->charmaps[i];
217 \param face is used to specify the style if both \a style is NULL or empty
224 uint16 familyID, uint16 styleID, uint16 face)
248 // try to get from face
249 return family->GetStyleMatchingFace(face);
257 FontManager::FindStyleMatchingFace(uint16 face) const
263 FontStyle* style = family->GetStyleMatchingFace(face);
223 GetStyle(const char* familyName, const char* styleName, uint16 familyID, uint16 styleID, uint16 face) argument
298 _AddFont(FT_Face face, node_ref nodeRef, const char* path, uint16& familyID, uint16& styleID) argument
[all...]
H A DFontFamily.h23 FontFamily objects bring together many styles of the same face, such as
37 FontStyle* GetStyleMatchingFace(uint16 face) const;
38 FontStyle* GetStyleByID(uint16 face) const;
H A DFontManager.h58 uint16 face = 0);
59 FontStyle* FindStyleMatchingFace(uint16 face) const;
67 FT_CharMap _GetSupportedCharmap(const FT_Face& face);
71 status_t _AddFont(FT_Face face, node_ref nodeRef,
H A DFontFamily.cpp257 FontFamily::GetStyleMatchingFace(uint16 face) const
259 // Other face flags do not impact the font selection (they are applied
261 face &= B_BOLD_FACE | B_ITALIC_FACE | B_REGULAR_FACE | B_CONDENSED_FACE
263 if (face == 0)
264 face = B_REGULAR_FACE;
270 if (style->Face() == face)
H A DFontStyle.h42 FT_Face face, FontManager* fontManager);
133 status_t UpdateFace(FT_Face face);
H A DGlobalFontManager.cpp575 \param face is used to specify the style if both \a style is NULL or empty
582 uint16 familyID, uint16 styleID, uint16 face)
619 // try to get from face
620 return family->GetStyleMatchingFace(face);
713 FT_Face face;
714 FT_Error error = FT_New_Face(gFreeTypeLibrary, path.Path(), -1, &face);
717 FT_Long count = face->num_faces;
718 FT_Done_Face(face);
721 FT_Error error = FT_New_Face(gFreeTypeLibrary, path.Path(), -(i + 1), &face);
724 uint32 variableCount = (face
581 GetStyle(const char* familyName, const char* styleName, uint16 familyID, uint16 styleID, uint16 face) argument
[all...]
H A DGlobalFontManager.h71 uint16 face = 0);
/haiku/src/tests/kits/interface/bfont/
H A DDumpFontList.cpp7 if (face & x) { \
9 face &= ~x; \
10 if (face != 0) \
44 uint16 face = font.Face(); local
45 printf("\t\tface: 0x%04x (", face);
53 if (face != 0)
54 printf("unknown 0x%04x", face);
/haiku/src/apps/clock/
H A Dcl_wind.cpp44 short face = fOnScreenView->ReturnFace(); local
45 write(ref, (char *)&face, sizeof(short));
74 short face; local
75 read(ref, (char *)&face, sizeof(short));
76 fOnScreenView->UseFace(face);
H A Dcl_view.h20 short hRadius, short offset, long face, bool show);
57 short offset, long face, bool show);
65 void UseFace(short face);
H A Dcl_view.cpp27 short hRadius, short offset, long face, bool show)
35 fFace(face),
181 short offset, long face, bool show)
183 fOffscreenView = new TOffscreenView(rect, "freqd", mRadius, hRadius, offset, face, show);
207 data->FindInt32("face"), data->FindBool("seconds"));
234 status = data->AddInt32("face", fOffscreenView->fFace);
275 TOnscreenView::UseFace(short face) argument
277 fOffscreenView->fFace = face;
26 TOffscreenView(BRect frame, const char *name, short mRadius, short hRadius, short offset, long face, bool show) argument
180 InitObject(BRect rect, short mRadius, short hRadius, short offset, long face, bool show) argument
/haiku/src/apps/haikudepot/textview/
H A DCharacterStyle.cpp95 uint16 face = Font().Face(); local
96 if ((bold && (face & B_BOLD_FACE) != 0)
97 || (!bold && (face & B_BOLD_FACE) == 0)) {
101 uint16 neededFace = face;
125 uint16 face = Font().Face(); local
126 if ((italic && (face & B_ITALIC_FACE) != 0)
127 || (!italic && (face & B_ITALIC_FACE) == 0)) {
131 uint16 neededFace = face;
417 uint16 face = Font().Face(); local
418 if ((underline && (face
[all...]
H A DCharacterStyle.h77 BFont _FindFontForFace(uint16 face) const;
/haiku/src/servers/app/
H A DServerFont.cpp334 ServerFont::SetFace(uint16 face) argument
336 // Don't confuse the Be API "face" with the Freetype face, which is just
339 // API face flags in FontStyle::_TranslateStyleToFace().
341 if (fStyle->PreservedFace(face) == face) {
342 fFace = face;
354 if (style->PreservedFace(face) == face)
366 fFace = face;
394 FT_Face face = fStyle->FreeTypeFace(); local
623 FT_Face face = GetTransformedFace(true, true); local
663 FT_Face face = GetTransformedFace(true, true); local
1107 FT_Face face = fStyle->FreeTypeFace(); local
[all...]
H A DServerFont.h103 status_t SetFace(uint16 face);
190 void PutTransformedFace(FT_Face face) const;
/haiku/src/bin/
H A Dlistfont.cpp95 printf("name/style face spc. enc. "
112 uint16 face; local
114 if (get_font_style(family, s, &style, &face, &flags) < B_OK)
128 printf(" 0x%02x %-4d %-4d", face, font.Spacing(), font.Encoding());
154 "face 0x%x)",
159 info.face);
/haiku/src/apps/mediaplayer/interface/
H A DSubtitleBitmap.cpp272 uint16 face = 0; local
275 face |= B_BOLD_FACE;
277 face |= B_ITALIC_FACE;
279 // it is if the font contains a specific underline face).
281 face |= B_UNDERSCORE_FACE;
283 face = B_REGULAR_FACE;
284 font.SetFace(face);
/haiku/src/apps/mediaconverter/
H A DMediaFileInfoView.h46 void _SetFontFace(uint16 face);
H A DMediaFileInfoView.cpp239 MediaFileInfoView::_SetFontFace(uint16 face) argument
242 font.SetFace(face);
/haiku/src/tools/translation/stxtinfo/
H A Dstxtinfo.cpp73 uint16 face; // typically 0 member in struct:Style
87 style.face = B_BENDIAN_TO_HOST_INT16(style.face);
96 printf("face: %u (typically 0)\n",
97 static_cast<unsigned int>(style.face));
/haiku/headers/os/interface/
H A DFont.h78 // font face flags
166 uint16 face; member in struct:tuned_font_info
185 uint16 face);
193 void SetFace(uint16 face);
336 uint16* face, uint32* flags = NULL);
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteMessage.cpp391 uint16 face; local
403 Read(face);
416 font.SetFace(face);

Completed in 205 milliseconds

12