|
|
|
Professional Graphics Programming in the X Window System
by Eric F. Johnson and Kevin Reichard
MIS: Press, 1993 ISBN 1-55828-255-6
|
About the book
|
|
Thick enough to stun an ox, this book covers one of the hottest
topics in the X and Unix worlds--high-end graphics. For best performance,
high-end graphics programs need absolute control over how data gets
displayed on an X server and this book shows you how to do it.
Meant for the serious programmer, you'll find hands-on tips and shortcuts
for programming with colormaps, alternative and 24-bit visuals,
bitmaps, pixmaps, double-buffering, shared-memory, animation and multimedia.
In addition to covering hard-to-find topics, this book also shows
you how to use the techniques in real-world Motif and OLIT programs.
For example, I've found very little information anywhere else that shows you
how to use alternative visuals in Motif programs, set up the shared-memory
extension for images, figure out the difference between
color cells and color planes (and how they intersect) and use various
methods for double-buffered animation.
Working in the high-end computer-aided manufacturing market, I've
had to use all these techniques and more to properly display 3D
data with anywhere near decent performance.
This book is a great companion to
Power Programming Motif for the
high-end graphics programmer.
This book is very hard to find. You may want to try an online bookstore
like Amazon.com.
|
|
Table of contents
|
|
- Introduction
- Section I: X Basics From Drawing to Menus
- 1 Graphics Programming With X
- 2 Drawing With X
- 3 The Graphics Context
- 4 X Events For Graphics
- 5 Graphics Programming with the Motif Toolkit
- 6 Graphics Programming with the Open Look Intrinsics Toolkit
- Section II: Color
- 7 X Color Basics
- 8 Turtle Graphics and X (covers L-systems)
- 9 Modifying Color Cells
- 10 Colormaps and Visuals
- 11 Color Overlay Planes
- 12 Standard X Colormaps
- 13 The X Color Management System
- Section III: Fonts and Text
- 14 Font Basics
- 15 Using Fonts with X Toolkits
- 16 Installing, Creating and Administering Fonts
- Section IV: Bitmaps
- 17 Pixmaps, Bitmaps and Bitmap Files
- 18 Color Bitmap Files (covers XPM images)
- 19 Bitmap Cursors (and busy cursors)
- 20 X Icons (includes icon windows for dynamic updating)
- 21 X Images (also covers fractals)
- 22 Shared Memory and Image Extensions
- Section V: Animation
- 23 Basic Animation Techniques
- 24 Bitmap Animation
- 25 Double Buffering for Smooth Animation
- 26 Animation Standards
- Appendix A: The X RGB Color Database
- Appendix B: Rounded-Corner Rectangles
- Appendix C: Handling X Errors
- Appendix D: A Makefile for the Sample Programs
- Appendix E: For More Information
- Appendix F: Obtaining the Example Source Code for This Book
- Appendix G: 3D Graphics with PEX and PEXlib
- Index
|
|
|
|