Quartz Core,Core Graphics和Quartz 2D有什么区别? [英] What's the difference between Quartz Core, Core Graphics and Quartz 2D?

查看:87
本文介绍了Quartz Core,Core Graphics和Quartz 2D有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人可以准确区分这些?
根据我的理解,Core Graphics只是一个包含Quartz Core和Quartz 2D的Framework Package。但我不确定Quartz 2D是否真的是Quartz Core?也许有人可以在那里画一些线?是什么构成了它们之间的差异?



在查看文档时,我看到Quartz Core仅列出了所有Core Animation的内容。那么Quartz Core == Core Animation?

解决方案

来自 Quartz 2D Programming Guide


Quartz 2D API是Core
Graphics框架的一部分,所以你可能会看到
Quartz被称为Core Graphics
或简称为CG。


我指的是在Mac / iPhone上引用二维绘图时,可以互换使用Quartz和Core Graphics,即使这在技术上并不合适。 / p>

iPhone上的Quartz Core框架包含Core Animation的类和支持元素,还包含用于Core Image的项目。


I wonder if someone can distinguish precisely between these? For my understanding, Core Graphics is just a "Framework Package" which contains Quartz Core and Quartz 2D. But I'm not sure about if Quartz 2D actually is Quartz Core? Maybe someone can draw some lines there? What makes up the differences between these?

When looking at the documentation, I see Quartz Core is listing up all the Core Animation stuff only. So Quartz Core == Core Animation?

解决方案

From the Quartz 2D Programming Guide:

The Quartz 2D API is part of the Core Graphics framework, so you may see Quartz referred to as Core Graphics or, simply, CG.

I have a tendency of using Quartz and Core Graphics interchangeably when referring to 2-D drawing on the Mac / iPhone, even if that's not technically correct.

The Quartz Core framework on the iPhone contains the classes and supporting elements for Core Animation and also contains items used for Core Image.

这篇关于Quartz Core,Core Graphics和Quartz 2D有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆