CTTypesetter

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)