Function

CTFramesetterCreateWithTypesetter

Creates a framesetter directly from a typesetter.

Declaration

CTFramesetterRef CTFramesetterCreateWithTypesetter(CTTypesetterRef typesetter);

Parameters

typesetter

The typesetter to be used by the newly created framesetter.

Return Value

This function returns a reference to a CTFramesetter object.

Discussion

Each framesetter uses a typesetter internally to perform line breaking and other contextual analysis based on the characters in a string. This function allows the framesetter to use a typesetter that was constructed using specific options.

See Also

Creating a Framesetter

CTFramesetterCreateWithAttributedString

Creates an immutable framesetter object from an attributed string.