Searched refs:fontRef (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 443 SkTypeface_Mac(CTFontRef fontRef, CFTypeRef resourceRef, in SkTypeface_Mac() argument 448 , fFontRef(fontRef) // caller has already called CFRetain for us in SkTypeface_Mac() 453 SkASSERT(fontRef); in SkTypeface_Mac() 487 static SkTypeface* NewFromFontRef(CTFontRef fontRef, CFTypeRef resourceRef, in NewFromFontRef() argument 490 SkASSERT(fontRef); in NewFromFontRef() 492 SkFontStyle style = SkFontStyle(computeStyleBits(fontRef, &isFixedPitch)); in NewFromFontRef() 494 return new SkTypeface_Mac(fontRef, resourceRef, style, isFixedPitch, name, isLocalStream); in NewFromFontRef() 584 SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef fontRef, CFTypeRef resourceRef) { in SkCreateTypefaceFromCTFont() argument 585 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_by_CTFontRef, (void*)fontRef); in SkCreateTypefaceFromCTFont() 587 CFRetain(fontRef); in SkCreateTypefaceFromCTFont() [all …]
|