<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>display - Interactively display and edit an image</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:bfriesen@freddy.simplesystems.org" /> </head> <body style="background-color: white"> <P><a name="__index__"></a></P> <!-- INDEX BEGIN --> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#function_descriptions">FUNCTION DESCRIPTIONS</a></li> <ul> <li><a href="#xdisplaybackgroundimage">XDisplayBackgroundImage</a></li> <li><a href="#xdisplayimage">XDisplayImage</a></li> </ul> </ul> <!-- INDEX END --> <hr /> <P> </P> <h1><a name="name">NAME</a></h1> <P>display - Interactively display and edit an image</P> <P> </P> <hr /> <h1><a name="synopsis">SYNOPSIS</a></h1> <P>unsigned int Magick <strong>XDisplayBackgroundImage</strong>( Display *display, MagickXResourceInfo *resource_info, Image *image );</P> <P>Image *Magick <strong>XDisplayImage</strong>( Display *display, MagickXResourceInfo *resource_info, char ** argv, int argc, Image ** image, unsigned long *state );</P> <P> </P> <hr /> <h1><a name="function_descriptions">FUNCTION DESCRIPTIONS</a></h1> <P> </P> <h2><a name="xdisplaybackgroundimage">XDisplayBackgroundImage</a></h2> <blockquote>MagickXDisplayBackgroundImage() displays an image in the background of a window. </blockquote><P>The format of the MagickXDisplayBackgroundImage method is:</P> <blockquote>unsigned int MagickXDisplayBackgroundImage ( Display *display, MagickXResourceInfo *resource_info, <A HREF="types.html#Image">Image</A> *image ); </blockquote><P>A description of each parameter follows:</P> <dl> <dt><strong><a name="item_o_display_3a">display:</a></strong> <DD> <P>Specifies a connection to an X server; returned from XOpenDisplay.</P> </dd> </li> <dt><strong><a name="item_o_resource_info_3a">resource_info:</a></strong> <DD> <P>Specifies a pointer to a X11 MagickXResourceInfo structure.</P> </dd> </li> <dt><strong><a name="item_o_image_3a">image:</a></strong> <DD> <P>Specifies a pointer to an Image structure; returned from ReadImage.</P> </dd> </li> </dl> <P> </P> <h2><a name="xdisplayimage">XDisplayImage</a></h2> <blockquote>MagickXDisplayImage() displays an image via X11. A new image is created and returned if the user interactively transforms the displayed image. </blockquote><P>The format of the MagickXDisplayImage method is:</P> <blockquote><A HREF="types.html#Image">Image</A> *MagickXDisplayImage ( Display *display, MagickXResourceInfo *resource_info, char **argv, int argc, <A HREF="types.html#Image">Image</A> **image, unsigned long *state ); </blockquote><P>A description of each parameter follows:</P> <dl> <dt><strong><a name="item_o_nexus_3a">nexus:</a></strong> <DD> <P>Method MagickXDisplayImage 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.</P> </dd> </li> <dt><strong>display:</strong> <DD> <P>Specifies a connection to an X server; returned from XOpenDisplay.</P> </dd> </li> <dt><strong>resource_info:</strong> <DD> <P>Specifies a pointer to a X11 MagickXResourceInfo structure.</P> </dd> </li> <dt><strong><a name="item_o_argv_3a">argv:</a></strong> <DD> <P>Specifies the application's argument list.</P> </dd> </li> <dt><strong><a name="item_o_argc_3a">argc:</a></strong> <DD> <P>Specifies the number of arguments.</P> </dd> </li> <dt><strong>image:</strong> <DD> <P>Specifies an address to an address of an Image structure; returned from ReadImage.</P> </dd> </dl> </body> </html>