美文网首页
CTTypesetter

CTTypesetter

作者: 李潇南 | 来源:发表于2017-09-09 15:16 被阅读43次
    typedef const struct CF_BRIDGED_TYPE(id) __CTTypesetter * CTTypesetterRef;
    CFTypeID CTTypesetterGetTypeID( void ) CT_AVAILABLE(10_5, 3_2);
    
    CT_EXPORT const CFStringRef kCTTypesetterOptionDisableBidiProcessing CT_DEPRECATED(10_5, 10_8, 3_2, 6_0);
    
    CT_EXPORT const CFStringRef kCTTypesetterOptionForcedEmbeddingLevel CT_AVAILABLE(10_5, 3_2);
    
    CTTypesetterRef CTTypesetterCreateWithAttributedString(
        CFAttributedStringRef string ) CT_AVAILABLE(10_5, 3_2);
    
    CTTypesetterRef CTTypesetterCreateWithAttributedStringAndOptions(
        CFAttributedStringRef string,
        CFDictionaryRef __nullable options ) CT_AVAILABLE(10_5, 3_2);
    
    CTLineRef CTTypesetterCreateLineWithOffset(
        CTTypesetterRef typesetter,
        CFRange stringRange,
        double offset ) CT_AVAILABLE(10_6, 3_2);
    
    CTLineRef CTTypesetterCreateLine(
        CTTypesetterRef typesetter,
        CFRange stringRange ) CT_AVAILABLE(10_5, 3_2);
    
    
    CFIndex CTTypesetterSuggestLineBreakWithOffset(
        CTTypesetterRef typesetter,
        CFIndex startIndex,
        double width,
        double offset ) CT_AVAILABLE(10_6, 3_2);
    
    CFIndex CTTypesetterSuggestLineBreak(
        CTTypesetterRef typesetter,
        CFIndex startIndex,
        double width ) CT_AVAILABLE(10_5, 3_2);
    
    CFIndex CTTypesetterSuggestClusterBreakWithOffset(
        CTTypesetterRef typesetter,
        CFIndex startIndex,
        double width,
        double offset ) CT_AVAILABLE(10_6, 3_2);
    
    CFIndex CTTypesetterSuggestClusterBreak(
        CTTypesetterRef typesetter,
        CFIndex startIndex,
        double width ) CT_AVAILABLE(10_5, 3_2);
    
    

    相关文章

      网友评论

          本文标题:CTTypesetter

          本文链接:https://www.haomeiwen.com/subject/rftajxtx.html