美文网首页
CTFramesetter

CTFramesetter

作者: 李潇南 | 来源:发表于2017-09-09 14:37 被阅读29次
    typedef const struct CF_BRIDGED_TYPE(id) __CTFramesetter * CTFramesetterRef;
    CFTypeID CTFramesetterGetTypeID( void ) CT_AVAILABLE(10_5, 3_2);
    
    CTFramesetterRef CTFramesetterCreateWithAttributedString(
        CFAttributedStringRef string ) CT_AVAILABLE(10_5, 3_2);
    
    CTFrameRef CTFramesetterCreateFrame(
        CTFramesetterRef framesetter,
        CFRange stringRange,
        CGPathRef path,
        CFDictionaryRef __nullable frameAttributes ) CT_AVAILABLE(10_5, 3_2);
    
    CTTypesetterRef CTFramesetterGetTypesetter(
        CTFramesetterRef framesetter ) CT_AVAILABLE(10_5, 3_2);
    
    CGSize CTFramesetterSuggestFrameSizeWithConstraints(
        CTFramesetterRef framesetter,
        CFRange stringRange,
        CFDictionaryRef __nullable frameAttributes,
        CGSize constraints,
        CFRange * __nullable fitRange ) CT_AVAILABLE(10_5, 3_2);
    

    相关文章

      网友评论

          本文标题:CTFramesetter

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