hpux man page for xsubimage

Query: xsubimage

OS: hpux

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XSubImage(3X)							  XLIB FUNCTIONS						     XSubImage(3X)

NAME
XSubImage - image utilities
SYNTAX
XImage *XSubImage(ximage, x, y, subimage_width, subimage_height) XImage *ximage; int x; int y; unsigned int subimage_width; unsigned int subimage_height;
ARGUMENTS
ximage Specifies the image. x y Specify the x and y coordinates. subimage_width Specifies the width of the new subimage, in pixels. subimage_height Specifies the height of the new subimage, in pixels.
DESCRIPTION
The XSubImage function creates a new image that is a subsection of an existing one. It allocates the memory necessary for the new XImage structure and returns a pointer to the new image. The data is copied from the source image, and the image must contain the rectangle defined by x, y, subimage_width, and subimage_height.
SEE ALSO
XInitImage(3X), XCreatImage(3X), XGetPixel(3X), XPutPixel(3X), XAddPixel(3X), XDestroyImage(3X) X Version 11 Release 6 XSubImage(3X)
Related Man Pages
xcreateimage(3x11) - redhat
xdestroyimage(3x11) - redhat
xputpixel(3x11) - redhat
xdestroyimage(3x11) - ultrix
xsubimage(3x11) - ultrix
Similar Topics in the Unix Linux Community
Converting XImage to PNG
Changing BPP in XImage