Write Your Own Routines (XForms (Forms Library) - Version 1.2 (Rev. 4) A Graphical User Interface Toolkit for X)

Previous: Image Annotation, Up: Simple Image Processing [Contents][Index]

#### 37.7.10 Write Your Own Routines

The only communication required between an image processing routine and the rest of the image routines is to let the display routine know that the image has been modified by setting `image->modified` to 1. This information is used by the display routine to invalidate any buffered displayable images that were created from the original image. After displaying, `image->modified` is reset by the display routine.