NAME

display - Interactively Display and Edit an Image


SYNOPSIS

status=XDisplayBackgroundImage(display,resource_info,image)

loaded_image=XDisplayImage(display,resource_info,argv,argc,image,state)


FUNCTION DESCRIPTIONS


XDisplayBackgroundImage

Function XDisplayBackgroundImage displays an image in the background of a window.

The format of the XDisplayBackgroundImage routine is:

        status=XDisplayBackgroundImage(display,resource_info,image)

A description of each parameter follows:

status:
Function XDisplayBackgroundImage returns True if the designated window is the root window.

display:
Specifies a connection to an X server; returned from XOpenDisplay.

resource_info:
Specifies a pointer to a X11 XResourceInfo structure.

image:
Specifies a pointer to a Image structure; returned from ReadImage.


XDisplayImage

Function 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 routine is:

        loaded_image=XDisplayImage(display,resource_info,argv,argc,image,state)

A description of each parameter follows:

loaded_image:
Function 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.

display:
Specifies a connection to an X server; returned from XOpenDisplay.

resource_info:
Specifies a pointer to a X11 XResourceInfo structure.

argv:
Specifies the application's argument list.

argc:
Specifies the number of arguments.

image:
Specifies an address to an address of an Image structure; returned from ReadImage.