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

12

/haiku-fatelf/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-fatelf/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
33 fFreeTypeFace(face),
34 fName(face->style_name),
40 fFace(_TranslateStyleToFace(face->style_name))
45 fHeight.ascent = (double)face->ascender / face->units_per_EM;
46 fHeight.descent = (double)-face->descender / face->units_per_EM;
51 fHeight.leading = (double)(face
178 UpdateFace(FT_Face face) argument
214 uint16 face = 0; local
[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.h59 uint16 styleID = 0xffff, uint16 face = 0);
63 FontStyle* FindStyleMatchingFace(uint16 face) const;
112 FT_CharMap _GetSupportedCharmap(const FT_Face& face);
H A DFontManager.cpp585 FT_Face face;
586 FT_Error error = FT_New_Face(gFreeTypeLibrary, path.Path(), 0, &face);
590 FontFamily *family = _FindFamily(face->family_name);
591 if (family != NULL && family->HasStyle(face->style_name)) {
594 FT_Done_Face(face);
599 family = new (std::nothrow) FontFamily(face->family_name, fNextID++);
603 FT_Done_Face(face);
608 FTRACE(("\tadd style: %s, %s\n", face->family_name, face->style_name));
611 FontStyle *style = new FontStyle(nodeRef, path.Path(), face);
834 _GetSupportedCharmap(const FT_Face& face) argument
1024 GetStyle(const char* familyName, const char* styleName, uint16 familyID, uint16 styleID, uint16 face) argument
[all...]
H A DFontFamily.cpp262 FontFamily::GetStyleMatchingFace(uint16 face) const
265 face &= B_BOLD_FACE | B_ITALIC_FACE | B_REGULAR_FACE | B_CONDENSED_FACE
272 if (style->Face() == face)
H A DFontStyle.h60 FT_Face face);
154 status_t UpdateFace(FT_Face face);
/haiku-fatelf/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-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfEnvmap.h188 // | ---+---Z | +X face
196 // | Z---+--- | -X face
204 // | ---+---X | +Y face
212 // | ---+---X | -Y face
220 // | X---+--- | +Z face
228 // | ---+---X | -Z face
249 CUBEFACE_POS_X, // +X face
250 CUBEFACE_NEG_X, // -X face
251 CUBEFACE_POS_Y, // +Y face
252 CUBEFACE_NEG_Y, // -Y face
[all...]
H A DImfEnvmap.cpp141 dataWindowForFace (CubeMapFace face, const Box2i &dataWindow) argument
147 dwf.min.y = int (face) * sof;
157 pixelPosition (CubeMapFace face, const Box2i &dataWindow, V2f positionInFace) argument
159 Box2i dwf = dataWindowForFace (face, dataWindow);
162 switch (face)
208 CubeMapFace &face,
224 face = CUBEFACE_POS_X;
233 face = CUBEFACE_POS_X;
235 face = CUBEFACE_NEG_X;
243 face
206 faceAndPixelPosition(const V3f &direction, const Box2i &dataWindow, CubeMapFace &face, V2f &pif) argument
261 direction(CubeMapFace face, const Box2i &dataWindow, const V2f &positionInFace) argument
[all...]
/haiku-fatelf/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.cpp24 short hRadius, short offset, long face, bool show)
32 fFace(face),
190 short offset, long face, bool show)
192 fOffscreenView = new TOffscreenView(rect, "freqd", mRadius, hRadius, offset, face, show);
216 data->FindInt32("face"), data->FindBool("seconds"));
243 status = data->AddInt32("face", fOffscreenView->fFace);
284 TOnscreenView::UseFace(short face) argument
286 fOffscreenView->fFace = face;
23 TOffscreenView(BRect frame, const char *name, short mRadius, short hRadius, short offset, long face, bool show) argument
189 InitObject(BRect rect, short mRadius, short hRadius, short offset, long face, bool show) argument
/haiku-fatelf/src/apps/3dmov/
H A DViewCube.cpp43 void SetMediaSource(FACE face, MediaSource *source) {fMediaSources[face] = source;} argument
319 TODO - actually determine exact face where refs received. For this
324 // determine face
326 Cube::FACE face = Cube::NUMBER_CUBE_FACES; local
329 face = Cube::FACE_TOP;
333 face = Cube::FACE_FRONT;
335 face = Cube::FACE_LEFT;
337 face = Cube::FACE_BACK;
339 face
[all...]
/haiku-fatelf/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 printf("\n\t(size %4.1f, shear %5.3f, rot. %5.3f, flags 0x%lx, face 0x%x)",
156 info.shear, info.rotation, info.flags, info.face);
/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgslabel.c106 int face,
122 // get the face index.
129 // open the face.
183 int face,
232 str,str_len,face,
243 int face,
258 ret = hpgs_device_label_internal(dev,pos,str,str_len,face,
103 hpgs_device_label_internal(hpgs_device *dev, hpgs_point *pos, const char *str, int str_len, int face, iconv_t encoding, const char* encoding_name, int posture, int weight, const hpgs_point *left_vec, const hpgs_point *up_vec, const hpgs_point *space_vec) argument
181 hpgs_reader_label(hpgs_reader *reader, const char *str, int str_len, int face, int encoding, int posture, int weight, const hpgs_point *left_vec, const hpgs_point *up_vec, const hpgs_point *space_vec) argument
240 hpgs_device_label(hpgs_device *dev, hpgs_point *pos, const char *str, int str_len, int face, const char *encoding, int posture, int weight, const hpgs_point *left_vec, const hpgs_point *up_vec, const hpgs_point *space_vec) argument
/haiku-fatelf/src/servers/app/
H A DServerFont.cpp308 ServerFont::SetFace(uint16 face) argument
310 // TODO: This needs further investigation. The face variable is actually
312 // confuse the Be API "face" with the Freetype face, which is just an
315 // API face flags in FontStyle::_TranslateStyleToFace().
325 if (style->Face() == face) {
360 FT_Face face = fStyle->FreeTypeFace(); local
361 if (!face) {
366 FT_Set_Char_Size(face, 0, int32(fSize * 64), 72, 72);
385 FT_Set_Transform(face,
[all...]
H A DServerFont.h98 status_t SetFace(uint16 face);
171 void PutTransformedFace(FT_Face face) const;
/haiku-fatelf/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-fatelf/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-fatelf/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-fatelf/headers/os/interface/
H A DFont.h77 // font face flags
156 uint16 face; member in struct:tuned_font_info
175 uint16 face);
183 void SetFace(uint16 face);
317 uint16* face, uint32* flags = NULL);
/haiku-fatelf/headers/private/interface/
H A DPictureDataWriter.h53 status_t WriteSetFontFace(const int32 &face);
/haiku-fatelf/src/add-ons/translators/rtf/
H A Dconvert.cpp238 set_font_face(BFont &font, uint16 face, bool on) argument
244 font.SetFace(face);
245 else if ((font.Face() & ~face) == 0 && !on)
248 font.SetFace(font.Face() | face);
250 font.SetFace(font.Face() & ~face);

Completed in 172 milliseconds

12