Lines Matching defs:face
270 static void EnsureAccessible(const SkTypeface* face) {
271 call_ensure_accessible(static_cast<const LogFontTypeface*>(face)->fLogFont);
340 static bool FindByLogFont(SkTypeface* face, void* ctx) {
341 LogFontTypeface* lface = static_cast<LogFontTypeface*>(face);
349 * it creates a new face.
354 sk_sp<SkTypeface> face = SkTypefaceCache::FindByProcAndRef(FindByLogFont, &lf);
355 if (!face) {
356 face = LogFontTypeface::Make(lf);
357 SkTypefaceCache::Add(face);
359 return face.release();
375 void SkLOGFONTFromTypeface(const SkTypeface* face, LOGFONT* lf) {
376 if (nullptr == face) {
379 *lf = static_cast<const LogFontTypeface*>(face)->fLogFont;