質問

I cannot seem to find this and hope it is a FAQ somewhere. How can I get the minimum NSRect needed to draw an NSAttributed string on OS X? I am doing an overlay borderless window, but I want to constrain the size based on what is needed to display the string.

役に立ちましたか?

解決

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top