m+IKdisplay - Methods to Interactively Display and Edit an Image>j Pair








NAME

C

display - Methods to Interactively Display and Edit an Image






(

SYNOPSIS

~

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 );






B

FUNCTION DESCRIPTIONS





F

XDisplayBackgroundImage

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


E
o display:


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


Q
o resource_info:


5Specifies a pointer to a X11 XResourceInfo structure.


A
o image:


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





2

XDisplayImage

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

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

A description of each parameter follows:


A
o nexus:


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


%
o display:


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


+
o resource_info:


5Specifies a pointer to a X11 XResourceInfo structure.


?
o argv:


*Specifies the application's argument list.


?
o argc:


"Specifies the number of arguments.


#
o image:


RSpecifies an address to an address of an Image structure; returned from ReadImage.