Leolo's guassian2 patch
[imager.git] / Mandelbrot / Mandelbrot.xs
CommitLineData
1c988d82 1#define PERL_NO_GET_CONTEXT
92bda632
TC
2#ifdef __cplusplus
3extern "C" {
4#endif
5#include "EXTERN.h"
6#include "perl.h"
7#include "XSUB.h"
8#include "ppport.h"
9#ifdef __cplusplus
10}
11#endif
12
13#include "imext.h"
14#include "imperl.h"
15
16void
17mandelbrot(i_img *im, double minx, double miny, double maxx, double maxy, int max_iter);
18
19DEFINE_IMAGER_CALLBACKS;
20
21MODULE = Imager::Filter::Mandelbrot PACKAGE = Imager::Filter::Mandelbrot
22
94022fed
TC
23PROTOTYPES: ENABLE
24
92bda632
TC
25void
26mandelbrot(im, minx=-2.5, miny=-2.0, maxx=2.5, maxy=-2.0, max_iter=256)
27 Imager::ImgRaw im
28 double minx
29 double miny
30 double maxx
31 double maxy
32 int max_iter
33
34BOOT:
35 PERL_INITIALIZE_IMAGER_CALLBACKS;
36