Chapter 8. Vector Versus Raster Graphics

In this chapter

  • Vector Graphics

  • Raster Graphics

  • Next Steps

Concepts of both raster- and vector-based graphics are important for authoring the Graphics Editor Project and employing the X Window System.

This chapter provides a description of each, showing their similarities, differences, and importance to window and graphics programming.

The X Window System, as introduced over the past few chapters, expects every graphics request to include all the details necessary for performing the task. The required level of detail is obtained by X requiring that the Window and GC structures be passed to every Xlib Graphic Primitive function call.

The information contained in the graphics request is sent through a process known ...

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.