7
Graphics Utilities
This chapter describes how to use the major graphics clients included with X, notably the bitmap editor.
In This Chapter:
Creating Icons and Other Bitmaps
Acting on the Entire Grid: Clear All, Set All, Invert All
Acting on an Area: Clear Area, Set Area, Invert Area
Copy Area, Move Area, Overlay Area
Drawing: Line, Circle, Filled Circle
Filling in a Shape: Flood Fill
Hot Spots: Set Hot Spot, Clear Hot Spot
Saving and Quitting: Write Output, Quit
Dialog Boxes and Command Buttons
Creating a Bitmap from a Cursor
Magnifying Portions of the Screen: xmag
7
Graphics Utilities
The standard release of X includes four utilities to help you create bitmap images: bitmap, bmtoa, atobm, and xmag. The most powerful and useful of these clients is bitmap, a program that lets you create and edit bitmap files. This section includes detailed instructions for using the bitmap client.
The bmtoa and atobm clients are programs that convert bitmaps to arrays (of ASCII characters) and arrays to bitmaps. They are used to facilitate printing and file manipulation and can help you convert a font character to a bitmap, as we'll demonstrate.
In a sense, the xmag client is a desk accessory for graphics programs. This client is used to magnify a portion of the screen, to assist you in creating images with a graphics editor, ...
Get X Window System User's Guide, Vol 3 (The Definitive Guides to the X Window System) 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.