]>
Commit | Line | Data |
---|---|---|
8afa12fe PG |
1 | --- ./ext/gd/gd.c.org 2004-08-17 01:08:56.000000000 +0200 |
2 | +++ ./ext/gd/gd.c 2004-10-18 14:24:15.797275104 +0200 | |
3 | @@ -209,8 +209,8 @@ | |
7d798202 PG |
4 | PHP_FE(imagecopyresampled, NULL) |
5 | #endif | |
6 | ||
7 | -#ifdef HAVE_GD_BUNDLED | |
8 | PHP_FE(imagerotate, NULL) | |
9 | +#ifdef HAVE_GD_BUNDLED | |
10 | PHP_FE(imageantialias, NULL) | |
11 | #endif | |
12 | ||
8afa12fe | 13 | @@ -416,11 +416,11 @@ |
7d798202 PG |
14 | #ifdef GD2_FMT_COMPRESSED |
15 | REGISTER_LONG_CONSTANT("IMG_GD2_COMPRESSED", GD2_FMT_COMPRESSED, CONST_CS | CONST_PERSISTENT); | |
16 | #endif | |
17 | -#if HAVE_GD_BUNDLED | |
18 | REGISTER_LONG_CONSTANT("IMG_EFFECT_REPLACE", gdEffectReplace, CONST_CS | CONST_PERSISTENT); | |
19 | REGISTER_LONG_CONSTANT("IMG_EFFECT_ALPHABLEND", gdEffectAlphaBlend, CONST_CS | CONST_PERSISTENT); | |
20 | REGISTER_LONG_CONSTANT("IMG_EFFECT_NORMAL", gdEffectNormal, CONST_CS | CONST_PERSISTENT); | |
21 | REGISTER_LONG_CONSTANT("IMG_EFFECT_OVERLAY", gdEffectOverlay, CONST_CS | CONST_PERSISTENT); | |
22 | +#if HAVE_GD_BUNDLED | |
23 | REGISTER_LONG_CONSTANT("GD_BUNDLED", 1, CONST_CS | CONST_PERSISTENT); | |
8afa12fe PG |
24 | /* Section Filters */ |
25 | REGISTER_LONG_CONSTANT("IMG_FILTER_NEGATE", IMAGE_FILTER_NEGATE, CONST_CS | CONST_PERSISTENT); | |
26 | @@ -1191,7 +1191,6 @@ | |
7d798202 PG |
27 | /* }}} */ |
28 | #endif | |
29 | ||
30 | -#ifdef HAVE_GD_BUNDLED | |
8afa12fe | 31 | /* {{{ proto resource imagerotate(resource src_im, float angle, int bgdcolor) |
7d798202 PG |
32 | Rotate an image using a custom angle */ |
33 | PHP_FUNCTION(imagerotate) | |
8afa12fe | 34 | @@ -1221,7 +1220,6 @@ |
7d798202 PG |
35 | } |
36 | } | |
37 | /* }}} */ | |
38 | -#endif | |
39 | ||
40 | #if HAVE_GD_IMAGESETTILE | |
8afa12fe PG |
41 | /* {{{ proto bool imagesettile(resource image, resource tile) |
42 | --- ./ext/gd/php_gd.h.org 2004-01-08 18:32:08.000000000 +0100 | |
43 | +++ ./ext/gd/php_gd.h 2004-10-18 14:24:34.372451248 +0200 | |
7d798202 PG |
44 | @@ -103,8 +103,8 @@ |
45 | PHP_FUNCTION(imagecopyresampled); | |
46 | #endif | |
47 | ||
48 | -#ifdef HAVE_GD_BUNDLED | |
49 | PHP_FUNCTION(imagerotate); | |
50 | +#ifdef HAVE_GD_BUNDLED | |
51 | PHP_FUNCTION(imageantialias); | |
52 | #endif | |
53 |