Summary
This was a long chapter. Desktop software graphics is a big topic. And, of course, this is only the beginning. We have covered here the day-to-day requirements of drawing with Core Graphics, but the reader is urged to continue to explore the field, to make the most of the visually rich desktop platforms out there.
In this chapter, you have learned the following:
- Drawing custom controls and views
- Stroking and filling graphics paths
- The methods available through
CGContext
- Translation, rotation, and scaling of graphics contexts
- Saving and restoring contexts
All splendid stuff. Wouldn't it be great to animate it?
In the next chapter, we will add the code to animate the correct time on these clocks.