Cocoa:Quartz、核心图形、上下文与视图。 天啊!
头开始疼。 我想我太快陷入这个问题了......也许有人可以帮助我想象这些(不包括 OpenGL ES)高级绘图库如何组合在一起 - 或者向我指出一些高级文档。 例如,我看到“上下文”和“视图”在某些情况下可以互换使用,但视图有一个(只有一个?)上下文,而上下文没有视图?!?
没有什么太复杂的,只是需要帮助可视化它们的差异和边界(何时使用一个而不是另一个)。
Heads starting to hurt. I think I dropped into this too fast... Perhaps someone could help me visualize how these (excluding OpenGL ES) high level drawing libraries fit together - or point me to some high level docs. For example I see "context" and "view" used interchangeably in some cases but a view has one (only one?) context while a context doesn't have a view?!?
Nothing too elaborate just need help visualizing their differences and their boundaries (when to use one as opposed to the other).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个文档,其中的图形显示了这些技术之间的关系,并解释了上下文:
https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_intro/ci_intro.html#//apple_ref /doc/uid/TP30001185
如果链接再次中断,请参见“核心图像编程指南”概述。
https://developer.apple.com/documentation/coreimage
Here's a document with a graphic showing the relationship between these technologies, and an explanation of contexts:
https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_intro/ci_intro.html#//apple_ref/doc/uid/TP30001185
It's under the "Core Image Programming Guide" overview if the link breaks again.
https://developer.apple.com/documentation/coreimage