Where can I find examples of Quartz 2D drawing on the iPhone?

There are a number of very nice Quartz2D and CoreAnimation animation examples in this project, from the 360iDev conference session on Core Animation: github.com/neror/CA360.

Thanks for help.... Really it works for me...... – Mishal Nov 5 '09 at 19:16.

I think you might be confusing a few things here. Quartz lets you do static 2-D vector drawing, but this is different from the QuartzCore framework, which you import into a project if you wish to use Core Animation. Core Animation is what you're looking for when it comes to 2-D animation on the Mac or iPhone (if you aren't going to go the way of OpenGL ES).

You really do not want to use Quartz to redraw a moving scene, because you will get terrible display performance. This does get confusing, because you can use Quartz to draw 2-D vector or raster art into UIViews or CALayers, and then animate those around using Core Animation. For a good introduction to Quartz, I recommend the Quartz 2D Programming Guide.

For Core Animation, there is the Core Animation Programming Guide, as well as the Core Animation book by Bill Dudney. You're right, there is a lot of sample code out there for Quartz on the Mac, as well as for Core Animation, but the nice thing is that Quartz and Core Animation use almost identical APIs on the Mac and iPhone. There are a few small differences, but for the most part code written for one runs on the other.As an example, we designed the Core Plot framework around Core Animation, using Quartz drawing, because we can have an almost identical codebase between our Mac and iPhone versions of the framework.

That's at least one large piece of sample code that you can look at. Finally, Opacity is a really neat utility that lets you draw vector artwork and generate the Quartz drawing code to reproduce that artwork within your application.It's a great way to try things out.

Thanks for Help and right direction. But can you pls give me any URL/Link which suggest me examples for the Quartz and its animation?(In which it should be imported as the library in the files). – Mishal Nov 5 '09 at 6:37 I am looking for example projects to.. any links?

– meersmans Jan 10 at 15:55 @meersmans - See my answer to a newer question here: stackoverflow. Com/questions/3463256/… – Brad Larson Jan 10 at 20:51 Great final thought there with the link to Opacity - it's a very handy tool – mmccomb Feb 13 at 9:45.

You should read the Quartz 2D Programming Guide. After reading the guide, take a look at QuartzDemo.

Quartz lets you do static 2-D vector drawing, but this is different from the QuartzCore framework, which you import into a project if you wish to use Core Animation. Core Animation is what you're looking for when it comes to 2-D animation on the Mac or iPhone (if you aren't going to go the way of OpenGL ES). You really do not want to use Quartz to redraw a moving scene, because you will get terrible display performance.

This does get confusing, because you can use Quartz to draw 2-D vector or raster art into UIViews or CALayers, and then animate those around using Core Animation. For a good introduction to Quartz, I recommend the Quartz 2D Programming Guide. For Core Animation, there is the Core Animation Programming Guide, as well as the Core Animation book by Bill Dudney.

You're right, there is a lot of sample code out there for Quartz on the Mac, as well as for Core Animation, but the nice thing is that Quartz and Core Animation use almost identical APIs on the Mac and iPhone. There are a few small differences, but for the most part code written for one runs on the other. Around Core Animation, using Quartz drawing, because we can have an almost identical codebase between our Mac and iPhone versions of the framework.

That's at least one large piece of sample code that you can look at. Finally, Opacity is a really neat utility that lets you draw vector artwork and generate the Quartz drawing code to reproduce that artwork within your application. It's a great way to try things out.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions