|
|
Status XQueryBestSize(display, class, which_screen, width, height,
width_return, height_return)
Display *display;
int class;
Drawable which_screen;
unsigned int width, height;
unsigned int *width_return, *height_return;
Status XQueryBestTile(display, which_screen, width, height, width_return,
height_return)
Display *display;
Drawable which_screen;
unsigned int width, height;
unsigned int *width_return, *height_return;
Status XQueryBestStipple(display, which_screen, width, height, width_return,
height_return)
Display *display;
Drawable which_screen;
unsigned int width, height;
unsigned int *width_return, *height_return;
XQueryBestSize can generate ``BadDrawable'', ``BadMatch'', and ``BadValue'' errors.
The XQueryBestTile function returns the best or closest size, that is, the size that can be tiled fastest on the screen specified by which_screen. The drawable indicates the screen and possibly the window class and depth. If an InputOnly window is used as the drawable, a ``BadMatch'' error results.
XQueryBestTile can generate ``BadDrawable'' and ``BadMatch'' errors.
The XQueryBestStipple function returns the best or closest size, that is, the size that can be stippled fastest on the screen specified by which_screen. The drawable indicates the screen and possibly the window class and depth. If an InputOnly window is used as the drawable, a ``BadMatch'' error results.
XQueryBestStipple can generate ``BadDrawable'' and ``BadMatch'' errors.