Chapter 15. Common Object Definition

In this chapter

  • Line Object Data Structure

  • Text Object Data Structure

  • Arc Object Data Structure

  • Common Object Data Structure

  • Next Steps

Following the detailed look provided in Chapter 14,"Program Flow," of the Graphics Editor program flow and, specifically, the X Event hooks important to the editor project, you are ready to advance the structure of the Graphics Editor. This chapter presents the common object definition from which all objects supported by the editor are created.

Note

All the data structures introduced in this chapter are targeted for inclusion in the gxGraphics.h header file.

Chapter 9,"Object Bounds Checking," page 203, introduced the idea that the objects supported by the Graphics Editor are divided ...

Get X Window Programming from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.