blob: 0b3cca3aa70b514fd1b0e5fb8ede16e6f6182662 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* File created 11 april 2002 by JeKo <jeko@free.fr>
*/
#ifndef IFS_H
#define IFS_H
#include "goom_config.h"
typedef struct _ifsPoint {
gint16 x,y;
} IFSPoint;
/* init ifs for a (width)x(height) output. */
void init_ifs (int width, int height);
/*
* draw an ifs on the buffer (which size is width * height)
* increment means that we draw 1/increment of the ifs's points
*/
void ifs_update (guint32 *buffer, guint32 *back, int width, int height, int increment);
/* free all ifs's data. */
void release_ifs ();
/* DONT USE !!! deprecated
* return a an array of points.
* WARNING !!! do not free it !!! it also has an internal use..
*/
IFSPoint * draw_ifs (int * nbPoints);
#endif
|