开发者

How to make a CTRunRef object? (iPhone SDK 4)

开发者 https://www.devze.com 2023-01-06 15:02 出处:网络
There is several CTLineCreate* functions, but I can\'t find a function whi开发者_Python百科ch make CTRunRef.CTRun values are created by Core Text when needed (specifically, they\'re created by CTTypes

There is several CTLineCreate* functions, but I can't find a function whi开发者_Python百科ch make CTRunRef.


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? :)

0

精彩评论

暂无评论...
验证码 换一张
取 消