Common Desktop Environment: Desktop KornShell User's Guide

Built-in Xlib Commands

XBell display volume

XClearArea display drawable [optional GC arguments] x y width height exposures

XClearWindow display drawable

XCopyArea display drawabledisplay src dest srcX srcY width height destX destY [optional GC arguments]

XDefineCursor display window cursor

XDrawArc display drawable [optional GC arguments] x y width height angle1 angle2

XDrawLine display drawable [optional GC arguments] x1 y1 x2 y2

XDrawLines display drawable [-coordinateMode] [optional GC arguments] x1 y1 x2 y2 [x3 y3 ...]

where coordinateMode is either CoordModeOrigin or CoordModePrevious.

XDrawPoint display drawable [optional GC arguments] x y

XDrawPoints display drawable [-coordinateMode] [optional GC arguments] x1 y1 [x2 y2 x3 y3 ...]

where coordinateMode is either CoordModeOrigin or CoordModePrevious.

XDrawRectangle display drawable [optional GC arguments] x y width height

XDrawSegments display drawable [optional GC arguments] x1 y1 x2 y2[x3 y3 x4 y4 ...]

XDrawString display drawable [optional GC arguments] x y string

XDrawImageString display drawable [optional GC arguments] x y string

XFillArc display drawable [optional GC arguments] x y width height angle1 angle2

XFillPolygonXFillArc display drawable [-shape] [-coordinateMode] [optional GC arguments] x1 y1 x2 y2 ...

where shape is either Complex, Convex, or Nonconvex, and coordinateMode is either CoordModeOrigin or CoordModePrevious.

XFillRectangle display drawable [optional GC arguments] x y width height

XFlush display

XHeightOfScreen variable screen

XRaiseWindow display window

XRootWindowOfScreen variable screen

XSync display discard

where discard is either true or false.

XTextWidth variable fontName string


Note -

The XTextWidth command is different from the corresponding Xlib procedure because it takes the name of a font instead of a pointer to a font structure.


XUndefineCursor display window

XWidthOfScreen variable screen