Skip to Content
XLIB Programming Manual, Rel. 5, Third Edition
book

XLIB Programming Manual, Rel. 5, Third Edition

by Adrian Nye
June 1994
Intermediate to advanced
821 pages
24h 40m
English
O'Reilly Media, Inc.
Content preview from XLIB Programming Manual, Rel. 5, Third Edition

F.8 Graphics Functions

XmuDrawRoundedRectangle draws a rounded rectangle, given x, y, width, height dimensions of the overall rectangle, and ew and eh sizes of a bounding box that the corners are drawn inside of. This function simply calls Xlib’s drawing routines.

XmuFillRoundedRectangle simply fills a shape similar to that drawn by XmuDrawRoundedRectangle, in the same way that XFillRectangle() fills.

XmuDrawLogo draws the “official” X Window System logo. The bounding box of the logo is given by x, y, width, and height.

XmuCreateStippledPixmap creates a two- by two-pixel pixmap of specified depth on the specified screen, with the top-left and bottom-right pixels drawn in the foreground pixel value and the other two drawn in the background. The pixmap is cached so that multiple requests share the same pixmap. The pixmap should be freed with XmuReleaseStippledPixmap to maintain correct reference counts.

XmuReadBitmapData reads a standard bitmap file description from the specified stream and returns the parsed data in a format suitable for passing to XCreateBitmapFromData()

XmuReadBitmapDataFromFile reads a standard bitmap file description from the specified file and returns the parsed data in a format suitable for passing to XCreateBitmapFromData().

XmuLocateBitmapFile reads a file in standard bitmap file format, using XReadBitmapFile(), and returns the created bitmap. The filename may be absolute or relative to the global resource named bitmapFilePath with class BitmapFilePath. If the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Xlib Reference Manual for Version 11 of the X Window System

Xlib Reference Manual for Version 11 of the X Window System

Adrian Nye

Publisher Resources

ISBN: 9780596806187Supplemental ContentCatalog PageErrata