typedef const struct CF_BRIDGED_TYPE(id) __CTFontCollection * CTFontCollectionRef;
typedef const struct CF_BRIDGED_TYPE(NSFontCollection) __CTFontCollection * CTFontCollectionRef;
typedef struct CF_BRIDGED_TYPE(id) __CTFontCollection * CTMutableFontCollectionRef;
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableFontCollection) __CTFontCollection * CTMutableFontCollectionRef;
CFTypeID CTFontCollectionGetTypeID( void ) CT_AVAILABLE(10_5, 3_2);
typedef CFComparisonResult (*CTFontCollectionSortDescriptorsCallback)(
CTFontDescriptorRef first,
CTFontDescriptorRef second,
void *refCon );
CT_EXPORT const CFStringRef kCTFontCollectionRemoveDuplicatesOption CT_AVAILABLE(10_5, 3_2);
CT_EXPORT const CFStringRef kCTFontCollectionIncludeDisabledFontsOption CT_AVAILABLE_MAC(10_7);
CT_EXPORT const CFStringRef kCTFontCollectionDisallowAutoActivationOption CT_AVAILABLE_MAC(10_7);
CTFontCollectionRef CTFontCollectionCreateFromAvailableFonts(
CFDictionaryRef __nullable options ) CT_AVAILABLE(10_5, 3_2);
CTFontCollectionRef CTFontCollectionCreateWithFontDescriptors(
CFArrayRef __nullable queryDescriptors,
CFDictionaryRef __nullable options ) CT_AVAILABLE(10_5, 3_2);
CTFontCollectionRef CTFontCollectionCreateCopyWithFontDescriptors(
CTFontCollectionRef original,
CFArrayRef __nullable queryDescriptors,
CFDictionaryRef __nullable options ) CT_AVAILABLE(10_5, 3_2);
CTMutableFontCollectionRef CTFontCollectionCreateMutableCopy(
CTFontCollectionRef original ) CT_AVAILABLE_MAC(10_7);
CFArrayRef __nullable CTFontCollectionCopyQueryDescriptors(
CTFontCollectionRef collection ) CT_AVAILABLE_MAC(10_7);
void CTFontCollectionSetQueryDescriptors(
CTMutableFontCollectionRef collection,
CFArrayRef __nullable descriptors ) CT_AVAILABLE_MAC(10_7);
CFArrayRef __nullable CTFontCollectionCopyExclusionDescriptors( CTFontCollectionRef collection ) CT_AVAILABLE_MAC(10_7);
void CTFontCollectionSetExclusionDescriptors(
CTMutableFontCollectionRef collection,
CFArrayRef __nullable descriptors ) CT_AVAILABLE_MAC(10_7);
CFArrayRef __nullable CTFontCollectionCreateMatchingFontDescriptors(
CTFontCollectionRef collection ) CT_AVAILABLE(10_5, 3_2);
CFArrayRef __nullable CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(
CTFontCollectionRef collection,
CTFontCollectionSortDescriptorsCallback __nullable sortCallback,
void * __nullable refCon ) CT_AVAILABLE(10_5, 3_2);
CFArrayRef __nullable CTFontCollectionCreateMatchingFontDescriptorsWithOptions(
CTFontCollectionRef collection,
CFDictionaryRef __nullable options ) CT_AVAILABLE_MAC(10_7);
CFArrayRef __nullable CTFontCollectionCreateMatchingFontDescriptorsForFamily(
CTFontCollectionRef collection,
CFStringRef familyName,
CFDictionaryRef __nullable options ) CT_AVAILABLE_MAC(10_7);
typedef CF_OPTIONS(uint32_t, CTFontCollectionCopyOptions) {
kCTFontCollectionCopyDefaultOptions = 0,
kCTFontCollectionCopyUnique = (1 << 0),
kCTFontCollectionCopyStandardSort = (1 << 1)
} CT_AVAILABLE_MAC(10_7);
CFArrayRef CTFontCollectionCopyFontAttribute(
CTFontCollectionRef collection,
CFStringRef attributeName,
CTFontCollectionCopyOptions options ) CT_AVAILABLE_MAC(10_7);
CFArrayRef CTFontCollectionCopyFontAttributes(
CTFontCollectionRef collection,
CFSetRef attributeNames,
CTFontCollectionCopyOptions options ) CT_AVAILABLE_MAC(10_7);
CTFontCollection
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。
相關(guān)閱讀更多精彩內(nèi)容
- 列夫托爾斯泰曾經(jīng)說過:幸福的家庭都是相似的,而不幸的家庭卻各有各的不幸。家庭是社會(huì)的組成部分,他給人一種歸宿感。家...
- 1. 那日,同事Z又添了一輛坐騎,價(jià)值13w+,是我小白龍的兩倍。辦公室眾同事聽說此事后對(duì)Z極力恭維,好不熱鬧。正...