NAME
XmuFillRoundedRectangle — fill a rectangle with rounded corners.
SYNOPSIS
#include <X11/Xmu/Drawing.h>
void XmuFillRoundedRectangle(display, draw, gc, x, y, w, h, ew, eh)
Display ∗display;
Drawable draw;
GC gc;
int x, y, w, h, ew, eh;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
drawSpecifies the drawable.
gcSpecifies the GC.
xSpecifies the upper-left x coordinate.
ySpecifies the upper-left y coordinate.
wSpecifies the rectangle width.
hSpecifies the rectangle height.
ewSpecifies the corner width.
ehSpecifies the corner height.
DESCRIPTION
XmuFillRoundedRectangle draws a filled rounded rectangle, where x, y, w, h are the dimensions of the overall rectangle, and 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.
SEE ALSO
XmuCreatePixmapFromBitmap, XmuCreateStippledPixmap, XmuDrawLogo, XmuDrawRoundedRectangle, XmuLocateBitmapFile, XmuReadBitmapData, XmuReadBitmapDataFromFile, XmuReleaseStippledPixmap.
Xlib Reference Manual