Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are some great Quartz 2D drawing tutorials? [closed]

I'm searching for some great Quartz 2D drawing tutorials aimed at the iPhone. I'm new to Quartz and want to start off with something easy and then progress to more difficult stuff.

Does anyone know of any Quartz 2D drawing tutorials that they would recommend?

like image 676
JJgendarme Avatar asked Aug 11 '10 22:08

JJgendarme


People also ask

Is Quartz 2D or 3d?

Quartz 2D, part of the Core Graphics framework, is an advanced, 2D drawing engine that is resolution- and device-independent. Its powerful features include transparency layers, path-based drawing, offscreen rendering, and advanced color management, as well as PDF document creation, display, and parsing.

What is CGContext?

The CGContext type represents a Quartz 2D drawing destination. A graphics context contains drawing parameters and all device-specific information needed to render the paint on a page to the destination, whether the destination is a window in an application, a bitmap image, a PDF document, or a printer.

What is Core Graphics in IOS?

Core Graphics is a low-level 2D graphics framework that allows drawing device independent graphics. All 2D drawing in UIKit uses Core Graphics internally. Core Graphics supports drawing in a number of scenarios including: Drawing to the screen via a UIView . Drawing images in memory or on screen.


2 Answers

I devoted an entire class to Quartz 2D drawing last semester in my advanced iPhone development course. The video for that is available on iTunes U, along with the rest of the class. The course notes for that session can be found here, and I created a sample application to show off some more advanced Quartz drawing concepts.

Beyond that, I highly recommend reading the Quartz 2D Programming Guide.

like image 54
Brad Larson Avatar answered Sep 17 '22 13:09

Brad Larson


Start with Apple's Quartz2D demo project. Compile it, run it on your device, read the code while you use the demos in the app.

like image 38
Alex Reynolds Avatar answered Sep 20 '22 13:09

Alex Reynolds