Kdisplay - Methods to Interactively Display and Edit an Image9W




"NAME

C

display - Methods to Interactively Display and Edit an Image



2page index




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



2page index


$

FUNCTION *DESCRIPTIONS



F

XDisplayBackgroundImage

V

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

AA description of each parameter follows:


B

status:

XMethod XDisplayBackgroundImage returns True if the designated window is the root window.

D

display:

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

P

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. vA new image is created and returned if the user interactively transforms the displayed image.

1

The format of the XDisplayImage method is:


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

AA description of each parameter follows:


@

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.

$

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:

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

page index