Kdisplay - Methods to Interactively Display and Edit an Image9/


NAME



<display - Methods to Interactively Display and Edit an Image




(

SYNOPSIS



unsigned int XDisplayBackgroundImage( Display *display, XResourceInfo *resource_info, Image *image);

oImage * XDisplayImage( Display *display, XResourceInfo *resource_info, char ** argv, int argc,4Image ** image, unsigned long *state );




B

FUNCTION DESCRIPTIONS






F

XDisplayBackgroundImage



GMethod XDisplayBackgroundImage displays an image in the background of awindow.

4The format of the XDisplayBackgroundImage method is:

unsigned int XDisplayBackgroundImage ( Display *display, XResourceInfo *resource_info, Image *image );


=A description of each parameter follows:

8

status:


KMethod 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 1X11 XResourceInfo structure."

image:


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






2

XDisplayImage



+Method XDisplayImage displays an image via X11. rA 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:

)

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:


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

resource_info:


Specifies a pointer to a 1X11 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.