Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DwRndRctngl(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XmuDrawRoundedRectangle — draws a rectangle with rounded corners. 

SYNOPSIS

#include <X11/Xmu/Drawing.h>

void XmuDrawRoundedRectangle(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

XmuDrawRoundedRectangle draws a 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 line attributes control all attributes of the line. 

SEE ALSO

XmuCreatePixmapFromBitmap, XmuCreateStippledPixmap, XmuDrawLogo, XmuFillRoundedRectangle, XmuLocateBitmapFile, XmuReadBitmapData, XmuReadBitmapDataFromFile, XmuReleaseStippledPixmap. 

Xlib Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026