XmuReshapeWidget(X3xmu) X Version 11 (Release 6.1)
XmuReshapeWidget --
reshape widget
Synopsis
cc . . . -lXmu
#include <X11/Xmu/Converters.h>
Boolean XmuReshapeWidget(w, shape_style, corner_width, corner_height)
Widget w;
int shape_style;
int corner_width, corner_height;
Arguments
- w
-
Specifies the widget to reshape.
- shape_style
-
Specifies the new shape.
- corner_width
-
Specifies the width of the rounded rectangle corner.
- corner_height
-
Specifies the height of the rounded rectangle corner.
Description
The XmuReshapeWidget
function reshapes the specified widget, using the Shape extension, to a
rectangle, oval, ellipse, or rounded rectangle, as specified by
shape_style (XmuShapeRectangle, XmuShapeOval,
XmuShapeEllipse, and XmuShapeRoundedRectangle, respectively).
The shape is bounded by the outside edges
of the rectangular extents of the widget.
If the shape is a rounded rectangle,
corner_width and corner_height
specify the size of the bounding box inside of which the corners are drawn
(see
XmuFillRoundedRectangle(X3xmu));
otherwise, corner_width and corner_height
are ignored.
The origin of the widget within its parent remains unchanged.
References
XmuCvtFunctionToCallback(X3xmu),
XmuCvtStringToBackingStore(X3xmu),
XmuCvtStringToBackingStore(X3xmu),
XmuCvtStringToShapeStyle(X3xmu),
XmuCvtStringToWidget(X3xmu)
Xlib - C Language X Interface
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.