CTFramesetter

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)