Home
last modified time | relevance | path

Searched refs:fFace (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/samples/layout/
DGnomeFontInstance.cpp55 fFace = NULL; in GnomeFontInstance()
58 error = FT_New_Face(engine, fontPathName, 0, &fFace); in GnomeFontInstance()
70 error = FT_Set_Char_Size(fFace, 0, pointSize << 6, 92, 92); in GnomeFontInstance()
72 fCairoFace = cairo_ft_font_face_create_for_ft_face(fFace, 0); in GnomeFontInstance()
74 fUnitsPerEM = fFace->units_per_EM; in GnomeFontInstance()
76 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
77 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance()
78 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
94 if (fFace != NULL) { in ~GnomeFontInstance()
95 FT_Done_Face(fFace); in ~GnomeFontInstance()
[all …]
DGnomeFontInstance.h51 FT_Face fFace;
/external/skia/src/ports/
DSkFontHost_FreeType.cpp192 fFace != NULL; in success()
207 FT_Face fFace; // reference to shared face in gFaceRecHead member in SkScalerContext_FreeType
236 FT_Face fFace; member
285 SkASSERT(rec->fFace); in ref_ft_face()
313 FT_Error err = FT_Open_Face(gFTLibrary->library(), &args, face_index, &rec->fFace); in ref_ft_face()
319 SkASSERT(rec->fFace); in ref_ft_face()
333 if (rec->fFace == face) { in unref_ft_face()
353 AutoFTAccess(const SkTypeface* tf) : fRec(NULL), fFace(NULL) { in AutoFTAccess()
360 fFace = fRec->fFace; in AutoFTAccess()
365 if (fFace) { in ~AutoFTAccess()
[all …]
/external/skia/src/fonts/
DSkTestScalerContext.cpp194 , fFace(face) in SkTestScalerContext()
205 return fFace->onCountGlyphs(); in generateGlyphCount()
210 (void) fFace->onCharsToGlyphs((const void *) &uni, SkTypeface::kUTF16_Encoding, &glyph, 1); in generateCharToGlyph()
215 fFace->getAdvance(glyph); in generateAdvance()
224 fFace->getMetrics(glyph); in generateMetrics()
232 fFace->getPath(*glyph, &path); in generateMetrics()
251 fFace->getPath(glyph, &path); in generateImage()
268 fFace->getPath(glyph, path); in generatePath()
273 fFace->getFontMetrics(metrics); in generateFontMetrics()
289 SkTestTypeface* fFace; member in SkTestScalerContext
DSkGScalerContext.cpp28 SkGTypeface* fFace; member in SkGScalerContext
39 , fFace(face) in SkGScalerContext()
102 const SkPaint& paint = fFace->paint(); in generateMetrics()
129 canvas.drawPath(path, fFace->paint()); in generateImage()
/external/skia/src/core/
DSkTypefaceCache.cpp22 curr->fFace->unref(); in ~SkTypefaceCache()
33 rec->fFace = SkRef(face); in add()
41 SkTypeface* currFace = curr->fFace; in findByProcAndRef()
54 SkTypeface* face = fArray[i].fFace; in purge()
DSkTypefaceCache.h82 SkTypeface* fFace; member
/external/skia/samplecode/
DClockFaceView.cpp173 SkTypeface* fFace; member in ClockFaceView
179 fFace = SkTypeface::CreateFromFile("/Users/reed/Downloads/p052024l.pfb"); in ClockFaceView()
185 SkSafeUnref(fFace); in ~ClockFaceView()
234 paint.setTypeface(fFace); in onDraw()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_ScrollBar.cpp1277 FX_FLOAT fFace = 0; in TrueToFace() local
1282 fFace = rcPosArea.left + fTrue * (rcPosArea.right - rcPosArea.left) / fFactWidth; in TrueToFace()
1285 fFace = rcPosArea.top - fTrue * (rcPosArea.top - rcPosArea.bottom) / fFactWidth; in TrueToFace()
1289 return fFace; in TrueToFace()
1292 FX_FLOAT CPWL_ScrollBar::FaceToTrue(FX_FLOAT fFace) in FaceToTrue() argument
1305 fTrue = (fFace - rcPosArea.left) * fFactWidth / (rcPosArea.right - rcPosArea.left); in FaceToTrue()
1308 fTrue = (rcPosArea.top - fFace) * fFactWidth / (rcPosArea.top - rcPosArea.bottom); in FaceToTrue()