Returns the text matrix needed to draw this run.
On This Page
func CTRunGetTextMatrix(_ run: CTRun) -> CGAffineTransform
The run object from which to get the text matrix.
A CGAffineTransform structure.
To properly draw the glyphs in a run, the fields tx and ty of the CGAffineTransform returned by this function should be set to the current text position.
func CTRunDraw(CTRun, CGContext, CFRange)
Draws a complete run or part of one.