12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Xlib</strong> − C LibraryX11, Release 6.7 DRAFTthe window has a defined background tile, the rectangle clipped by any children is filled with thistile. If the window has background None, the contents of the window are not changed. In eithercase, if exposures is True, one or more Expose events are generated for regions of the rectanglethat are either visible or are being retained in a backing store. If you specify a window whoseclass is InputOnly, aBadMatch error results.XClearArea can generate BadMatch, BadValue, and BadWindow errors.To clear the entire area in a given window, use XClearWindow.XClearWindow(display, w)Display *display;Window w;displaywSpecifies the connection to the X server.Specifies the window.The XClearWindow function clears the entire area in the specified window and is equivalent toXClearArea (display, w,0,0,0,0, False). If the window has a defined background tile, the rectangleis tiled with a plane-mask of all ones and GXcopy function. If the window has backgroundNone, the contents of the window are not changed. If you specify a window whose class isInputOnly, aBadMatch error results.XClearWindow can generate BadMatch and BadWindow errors.8.2. Copying Areas<strong>Xlib</strong> provides functions that you can use to copy anarea or a bit plane.To copy anarea between drawables of the same root and depth, use XCopyArea.148

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!