There is several CTLineCreate* functions, but I can't find a function which make CTRunRef.
A:
CTRun
values are created by Core Text when needed (specifically, they're created by CTTypesetter
/CTLine
and supplied by CTLineGetGlyphRuns()
.)
If you're trying to draw glyph runs with CTRunDraw()
, use CTTypesetter
to set up your text first. If you need CTRun
values for some other purpose... what is it? :)
Jonathan Grynspan
2010-07-12 01:56:08
I just tried to draw CTRun instead of CTLine. Because it seemed to be lighter. Thank you!
Eonil
2010-07-12 05:55:24