What's the difference between Quartz Core, Core Graphics and Quartz 2D?

后端 未结 3 370
谎友^
谎友^ 2020-12-12 11:29

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. Bu

3条回答
  •  自闭症患者
    2020-12-12 12:14

    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.

提交回复
热议问题