00001 /* 00002 * File created 11 april 2002 by JeKo <jeko@free.fr> 00003 */ 00004 00005 #ifndef IFS_H 00006 #define IFS_H 00007 00008 #include "goomconfig.h" 00009 00010 typedef struct _ifsPoint 00011 { 00012 gint32 x, y; 00013 } 00014 IFSPoint; 00015 00016 // init ifs for a (width)x(height) output. 00017 void init_ifs (int width, int height); 00018 00019 // draw an ifs on the buffer (which size is width * height) 00020 // increment means that we draw 1/increment of the ifs's points 00021 void ifs_update (guint32 * buffer, guint32 * back, int width, int height, int increment); 00022 00023 // free all ifs's data. 00024 void release_ifs (void); 00025 00026 00027 /* DONT USE !!! deprecated 00028 * return a an array of points. 00029 * WARNING !!! do not free it !!! it also has an internal use.. 00030 */ 00031 IFSPoint *draw_ifs (int *nbPoints); 00032 00033 #endif
1.6.3