阅读背景:

你如何翻转NSView的坐标系?

来源:互联网 

I have created an NSScrollView in interface builder that has a variable number of semi-unique NSViews that can be programmatically added and removed from it. When I add subViews to the documentView, they appear in the lower-left hand corner instead of the upper-left hand corner. I see that you can check the isFlipped bool to figure out if the view's coordinate system is flipped, but I cannot find a way to set it as flipped. I have created an NSScrollView in interface bui




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: