Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XDestroyIma(3x) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

XDestroyImage − deallocate memory associated with an image.

Synopsis

int XDestroyImage(ximage)
  XImage *ximage;

Arguments

ximageSpecifies a pointer to the image. 

Description

XDestroyImage() deallocates the memory associated with an XImage structure.  This memory includes both the memory holding the XImage structure, and the memory holding the actual image data.  (If the image data is statically allocated, the pointer to the data in the XImage structure must be set to zero before calling XDestroyImage().)  For more information on images, see Volume One, Chapter 6, Drawing Graphics and Text. 

See Also

ImageByteOrder(), XAddPixel(), XCreateImage(), XGetImage(), XGetPixel(), XGetSubImage(), XPutImage(), XPutPixel(), XSubImage(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026