O'Reilly logo

Programming with Quartz by Philip Schneider, Bunny Laden, David Gelphman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15 Advanced Drawing Features

Quartz offers a number of advanced drawing capabilities that build on top of the basic graphic primitives and features you’ve already learned about—patterns, shadows, transparency layers, and shadings. Patterns provide a way for you to create a repeating tile that contains arbitrary Quartz drawing and use that tile as a fill or stroke color. You’ve probably noticed the drop shadow that is present in the Aqua user interface in Mac OS X. Using Quartz, you can get that same look in your own drawing. Transparency layers allow you to group drawing elements together and treat them as a single unit for purposes of applying shadows or alpha transparency. Shadings, sometimes called gradients or blends, provide a way ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required