X Version 11 (Release 6.1)

XmuDrawRoundedRectangle(X3xmu)


XmuDrawRoundedRectangle -- draw rounded rectangle

Synopsis

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.

References

XmuDrawLogo(X3xmu), XmuCreateStippledPixmap(X3xmu), XmuReadBitmapData(X3xmu), XmuLocateBitmapFile(X3xmu), XmuCreatePixmapFromBitmap(X3xmu)
Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004