Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从中创建一个 NSImage 的 NSScrollView 中有一个 NSView。因为它在 NSScrollView 中,所以它并不总是完全可见的,它甚至可以比屏幕的大小更大。谁能帮我?谢谢。
[NSView cacheDisplayInRect:toBitmapImageRep:]
或者,根据您需要图像的目的,考虑制作视图的 PDF。