Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (29 sloc) 0.855 kB
92bda63 - start of external Imager API access:
Tony Cook authored
1 /*
2 This header file defines types that Imager's typemap uses to convert to
3 perl types.
4
5 This is meant for use in XS code, not in normal C source.
6 */
7 #ifndef IMAGER_IMPERL_H
8 #define IMAGER_IMPERL_H
9
10 #include "imdatatypes.h"
11
12 typedef i_color* Imager__Color;
13 typedef i_fcolor* Imager__Color__Float;
14 typedef i_img* Imager__ImgRaw;
15 typedef int undef_neg_int;
16 typedef i_img * Imager;
d0bf42b a first run at thick lines, this has some structural problems
Tony Cook authored
17 typedef i_pen_t * Imager__Pen__Raw;
18 typedef i_polyline_t * Imager__Polyline;
92bda63 - start of external Imager API access:
Tony Cook authored
19
20 #ifdef HAVE_LIBTT
21 typedef TT_Fonthandle* Imager__Font__TT;
22 #endif
23
24 #ifdef HAVE_FT2
25 typedef FT2_Fonthandle* Imager__Font__FT2;
26 #endif
27
28 /* for the fill objects
29 Since a fill object may later have dependent images, (or fills!)
30 we need perl wrappers - oh well
31 */
32 #define IFILL_DESTROY(fill) i_fill_destroy(fill);
33 typedef i_fill_t* Imager__FillHandle;
34
0778adb More iolayers work:
Tony Cook authored
35 typedef io_glue *Imager__IO;
36
92bda63 - start of external Imager API access:
Tony Cook authored
37 #endif
Something went wrong with that request. Please try again.