= display - Interactively Display and Edit an Image��� �  0 




NAME

1display - Interactively Display and Edit an Image








SYNOPSIS

Lstatus=XDisplayBackgroundImage(display,resource_info,image)

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






9

FUNCTION DESCRIPTIONS






=

XDisplayBackgroundImage

IFunction XDisplayBackgroundImage displays an image in the background of awindow.

5The format of the XDisplayBackgroundImage routine is:

H

        status=XDisplayBackgroundImage(display,resource_info,image)


(A description of each parameter follows:



$
status:
IFunction XDisplayBackgroundImage returns True if the designated window isthe root window.



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



resource_info:
5Specifies a pointer to a X11 XResourceInfo structure.



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






)

XDisplayImage

HFunction XDisplayImage displays an image via X11. A new image is createdFand returned if the user interactively transforms the displayed image.

+The format of the XDisplayImage routine is:

T

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


(A description of each parameter follows:




loaded_image:
JFunction XDisplayImage returns an image when the user chooses 'Open Image'Kfrom the command menu or picks a tile from the image directory. Otherwise anull image is returned.



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



resource_info:
5Specifies a pointer to a X11 XResourceInfo structure.



argv:
*Specifies the application's argument list.



argc:
"Specifies the number of arguments.



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