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 ...