Home
last modified time | relevance | path

Searched refs:cfAttributes (Results 1 – 2 of 2) sorted by relevance

/external/skia/legacy/src/ports/
DSkFontHost_mac_coretext.cpp388 CFMutableDictionaryRef cfAttributes, cfTraits; in NewFromName() local
412cfAttributes = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &… in NewFromName()
417 if (cfFontName != NULL && cfFontTraits != NULL && cfAttributes != NULL && cfTraits != NULL) { in NewFromName()
420 CFDictionaryAddValue(cfAttributes, kCTFontFamilyNameAttribute, cfFontName); in NewFromName()
421 CFDictionaryAddValue(cfAttributes, kCTFontTraitsAttribute, cfTraits); in NewFromName()
423 ctFontDesc = CTFontDescriptorCreateWithAttributes(cfAttributes); in NewFromName()
439 CFSafeRelease(cfAttributes); in NewFromName()
656 CFMutableDictionaryRef cfAttributes = CFDictionaryCreateMutable( in SkScalerContext_Mac() local
659 if (cfAttributes) { in SkScalerContext_Mac()
663 CFDictionaryAddValue(cfAttributes, kCTFontOrientationAttribute, in SkScalerContext_Mac()
[all …]
/external/skia/src/ports/
DSkFontHost_mac_coretext.cpp444 AutoCFRelease<CFMutableDictionaryRef> cfAttributes( in NewFromName() local
455 if (cfFontName != NULL && cfFontTraits != NULL && cfAttributes != NULL && cfTraits != NULL) { in NewFromName()
458 CFDictionaryAddValue(cfAttributes, kCTFontFamilyNameAttribute, cfFontName); in NewFromName()
459 CFDictionaryAddValue(cfAttributes, kCTFontTraitsAttribute, cfTraits); in NewFromName()
462 CTFontDescriptorCreateWithAttributes(cfAttributes)); in NewFromName()
679 AutoCFRelease<CFMutableDictionaryRef> cfAttributes(CFDictionaryCreateMutable( in SkScalerContext_Mac() local
683 if (cfAttributes) { in SkScalerContext_Mac()
687 CFDictionaryAddValue(cfAttributes, kCTFontOrientationAttribute, cfVertical); in SkScalerContext_Mac()
688 ctFontDesc = CTFontDescriptorCreateWithAttributes(cfAttributes); in SkScalerContext_Mac()