Chapter 12. Coordinate Systems

In this chapter

  • Rectangular Coordinates

  • Polar Coordinate System

  • Next Steps

The concept of coordinate systems must be addressed to make a book on the X Window System and graphic transformations complete.

This chapter introduces coordinate systems and programmatic considerations for each of them.

As the last building block in the foundation preparing us to focus solely on programming the Graphics Editor, this chapter marks the end of Section One.

A coordinate system determines the positive and negative directions of the x and y axes and their relationship to horizontal and vertical placement. Further, a coordinate system dictates the location of the origin or (0,0) position within the representation.

In computer graphics, ...

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.