Kdisplay - Methods to Interactively Display and Edit an Image;/


NAME



<display - Methods to Interactively Display and Edit an Image




(

SYNOPSIS



Lstatus=XDisplayBackgroundImage(display,resource_info,image)

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




B

FUNCTION DESCRIPTIONS






F

XDisplayBackgroundImage



GMethod 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:

5
status:


KMethod XDisplayBackgroundImage returns True if the designated window is the 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.






2

XDisplayImage



JMethod XDisplayImage displays an image via X11. A new image is created andBreturned 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:


HMethod 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.