Linux Platform-Specific Functions and Features
Use the following Linux platform-specific functions in ImageGear applications:
- IG_initialize() - This function initializes the ImageGear library. It must be called before any other ImageGear function is used.
- IG_close() - When your application no longer needs the use of ImageGear functions, close ImageGear using this function. This function frees resources and memory that ImageGear allocates while in use. You should call this function before the application program exits.
- IG_dspl_update_rect_set() - This function is used to set the dirty area of a window that needs to be repainted. The first parameter is the ImageGear image handle. The second parameter is the display group id indicating where to set the update rectangle. The third parameter is the pointer to actual clipping rectangle. This rectangle is normally set to the rectangle of an expose event.
- IG_dspl_update_rect_get() - This function returns the update rectangle that was previously set with the function IG_dspl_update_rect_set(). If the update rectangle was not previously set with IG_dspl_update_rect_set(), the rectangle returned will be set to the size of the entire drawing surface.