#include <X11/Xmu/Drawing.h>void XmuDrawRoundedRectangle(dpy, draw, gc, x, y, w, h, ew, eh) Display *dpy; Drawable draw; GC gc; int x, y, w, h, ew, eh;
void XmuFillRoundedRectangle(dpy, draw, gc, x, y, w, h, ew, eh) Display *dpy; Drawable draw; GC gc; int x, y, w, h, ew, eh;
The XmuDrawRoundedRectangle function draws a rounded rectangle. The dimension's of the rectangle are x, y, w, h; ew and eh are the sizes of a bounding box that the corners are drawn inside of; ew should be no more than half of w, and eh should be no more than half of h. The current GC line attributes control all attributes of the line.
The XmuFillRoundedRectangle function draws a filled rounded rectangle. The dimensions of the rectangle are x, y, w, h; ew and eh are the sizes of a bounding box that the corners are drawn inside of; ew should be no more than half of w, and eh should be no more than half of h. The current GC fill settings control all attributes of the fill contents.