XmuDrawRoundedRectangle(Xmu) 6 January 1993 XmuDrawRoundedRectangle(Xmu)
X Version 11 (Release 5)
Name
XmuDrawRoundedRectangle - draw rounded rectangle
Syntax
cc . . . -lXmu
#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;
Arguments
dpy Specifies the connection to the X server.
draw Specifies the drawable.
gc Specifies the GC.
x Specifies the upper left x coordinate.
y Specifies the upper left y coordinate.
w Specifies the rectangle width.
h Specifies the rectangle height.
ew Specifies the corner width.
eh Specifies the corner height.
Description
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.
See also
XmuDrawLogo(Xmu), XmuCreateStippledPixmap(Xmu), XmuReadBitmapData(Xmu),
XmuLocateBitmapFile(Xmu), XmuCreatePixmapFromBitmap(Xmu)
Xlib - C Language X Interface