【发布时间】:2014-02-13 19:47:19
【问题描述】:
NSLayoutManager类中的drawGlyphsForGlyphRange:atPoint:函数是如何实现的?我知道它是由 NSTextView 调用的,然后又调用了 fillBackgroundRectArray:count:forCharacterRange:color:
但它如何确定指定字形的背景颜色(如果有)?
【问题讨论】:
标签: macros drawing nstextview nslayoutmanager