XmeDrawDiamond(3X)
XmeDrawDiamond - Draws a Motif-style, three-dimensional diamond
As shipped in IRIX 6.5.22. Added in IRIX 6.5.5.
NAME XmeDrawDiamond - Draws a Motif-style, three-dimensional diamond SYNOPSIS #include <Xm/DrawP.h> void XmeDrawDiamond( Display *display, Drawable drawable, GC top_gc, GC bottom_gc, GC center_gc, Position x, Position y, Dimension width, Dimension height, Dimension shadow_thickness, Dimension margin); VERSION This page documents Motif 2.1. DESCRIPTION XmeDrawDiamond draws a Motif-style diamond and the shadows around it. You specify the position of the diamond by describing a bounding rectangle. The bounding rectangle encompasses not only the diamond but its shadows as well. You may optionally specify a margin between the diamond and its shadows. display Specifies the display on which the diamond is to be rendered. drawable Specifies the drawable in which the diamond is to be rendered. top_gc Specifies the graphics context of the diamond's top shadow. bottom_gc Specifies the graphics context of the diamond's bottom shadow. center_gc Specifes the graphics context of the diamond itself. If center_gc is NULL, the diamond will not be filled, but the shadow will still be drawn. x Specifies the leftmost point of the bounding rectangle. y Specifies the top point of the bounding rectangle. width Specifies the width of the bounding rectangle. height Specifies the height of the bounding rectangle. shadow_thickness Specifies the thickness, in pixels, of the shadow surrounding the diamond. margin Specifies the gap, in pixels, between the diamond and its shadow. Without this margin, the boundary between a diamond and its shadow may appear somewhat ragged on a monochrome screen. RELATED XmeDrawArrow(3).