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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.