display - Interactively display and edit an image
unsigned int XDisplayBackgroundImage( Display *display, XResourceInfo *resource_info, Image *image );
Image * XDisplayImage( Display *display, XResourceInfo *resource_info, char ** argv, int argc, Image ** image, unsigned long *state );
XDisplayBackgroundImage() displays an image in the background of a window.
The format of the XDisplayBackgroundImage method is:
unsigned int XDisplayBackgroundImage ( Display *display, XResourceInfo *resource_info, Image *image );
A description of each parameter follows:
Specifies a connection to an X server; returned from XOpenDisplay.
Specifies a pointer to a X11 XResourceInfo structure.
Specifies a pointer to an Image structure; returned from ReadImage.
XDisplayImage() displays an image via X11. A new image is created and returned if the user interactively transforms the displayed image.
The format of the XDisplayImage method is:
Image *XDisplayImage ( Display *display, XResourceInfo *resource_info, char **argv, int argc, Image **image, unsigned long *state );
A description of each parameter follows:
Method XDisplayImage returns an image when the user chooses 'Open Image' from the command menu or picks a tile from the image directory. Otherwise a null image is returned.
Specifies a connection to an X server; returned from XOpenDisplay.
Specifies a pointer to a X11 XResourceInfo structure.
Specifies the application's argument list.
Specifies the number of arguments.
Specifies an address to an address of an Image structure; returned from ReadImage.