12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.2.3. Setting the Fill Style and Fill Rule . . . . . . . . . . . . . . . . . 1407.2.4. Setting the Fill Tile and Stipple . . . . . . . . . . . . . . . . . 1407.2.5. Setting the Current Font . . . . . . . . . . . . . . . . . . . . 1437.2.6. Setting the Clip Region . . . . . . . . . . . . . . . . . . . . 1437.2.7. Setting the Arc Mode, Subwindow Mode, and Graphics Exposure . . . . . . 145Chapter 8: Graphics Functions . . . . . . . . . . . . . . . . . . . . 1478.1. Clearing Areas . . . . . . . . . . . . . . . . . . . . . . . 1478.2. Copying Areas . . . . . . . . . . . . . . . . . . . . . . . 1488.3. Drawing Points, Lines, Rectangles, and Arcs . . . . . . . . . . . . . . 1508.3.1. Drawing Single and Multiple Points . . . . . . . . . . . . . . . . 1518.3.2. Drawing Single and Multiple Lines . . . . . . . . . . . . . . . . 1528.3.3. Drawing Single and Multiple Rectangles . . . . . . . . . . . . . . 1548.3.4. Drawing Single and Multiple Arcs . . . . . . . . . . . . . . . . 1568.4. Filling Areas . . . . . . . . . . . . . . . . . . . . . . . . 1588.4.1. Filling Single and Multiple Rectangles . . . . . . . . . . . . . . . 1588.4.2. Filling a Single Polygon . . . . . . . . . . . . . . . . . . . . 1598.4.3. Filling Single and Multiple Arcs . . . . . . . . . . . . . . . . . 1608.5. Font Metrics . . . . . . . . . . . . . . . . . . . . . . . . 1618.5.1. Loading and Freeing Fonts . . . . . . . . . . . . . . . . . . . 1648.5.2. Obtaining and Freeing Font Names and Information . . . . . . . . . . . 1678.5.3. Computing Character String Sizes . . . . . . . . . . . . . . . . . 1698.5.4. Computing Logical Extents . . . . . . . . . . . . . . . . . . . 1698.5.5. Querying Character String Sizes . . . . . . . . . . . . . . . . . 1718.6. Drawing Text . . . . . . . . . . . . . . . . . . . . . . . . 1728.6.1. Drawing Complex Text . . . . . . . . . . . . . . . . . . . . 1738.6.2. Drawing Text Characters . . . . . . . . . . . . . . . . . . . . 1758.6.3. Drawing Image Text Characters . . . . . . . . . . . . . . . . . 1768.7. Transferring Images between Client and Server . . . . . . . . . . . . . 178Chapter 9: Window and Session Manager Functions . . . . . . . . . . . . . 1849.1. Changing the Parent of a Window . . . . . . . . . . . . . . . . . 1849.2. Controlling the Lifetime of a Window . . . . . . . . . . . . . . . . 1859.3. Managing Installed Colormaps . . . . . . . . . . . . . . . . . . 1869.4. Setting and Retrieving the Font Search Path . . . . . . . . . . . . . . 1889.5. Grabbing the Server . . . . . . . . . . . . . . . . . . . . . . 1899.6. Killing Clients . . . . . . . . . . . . . . . . . . . . . . . 1909.7. Controlling the Screen Saver . . . . . . . . . . . . . . . . . . . 1909.8. Controlling Host Access . . . . . . . . . . . . . . . . . . . . 1929.8.1. Adding, Getting, or Removing Hosts . . . . . . . . . . . . . . . . 1939.8.2. Changing, Enabling, or Disabling Access Control . . . . . . . . . . . . 195Chapter 10: Events . . . . . . . . . . . . . . . . . . . . . . . 19710.1. Event Types . . . . . . . . . . . . . . . . . . . . . . . . 19710.2. Event Structures . . . . . . . . . . . . . . . . . . . . . . 19810.3. Event Masks . . . . . . . . . . . . . . . . . . . . . . . . 19910.4. Event Processing Overview . . . . . . . . . . . . . . . . . . . 20010.5. Keyboard and Pointer Events . . . . . . . . . . . . . . . . . . 20210.5.1. Pointer Button Events . . . . . . . . . . . . . . . . . . . . 20210.5.2. Keyboard and Pointer Events . . . . . . . . . . . . . . . . . . 20310.6. Window Entry/Exit Events . . . . . . . . . . . . . . . . . . . 20710.6.1. Normal Entry/Exit Events . . . . . . . . . . . . . . . . . . . 20910.6.2. Grab and Ungrab Entry/Exit Events . . . . . . . . . . . . . . . . 210

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!