#include "php.h"
#include "php_ini.h"
#include "ext/standard/head.h"
#include <math.h>
#include "SAPI.h"
#include "php_gd.h"
#include "ext/standard/php_image.h"
#include "ext/standard/info.h"
#include "php_open_temporary_file.h"
#include "php_memory_streams.h"
#include "zend_object_handlers.h"
#include "gd_compat.h"
#include <gd.h>
#include <gd_errors.h>
#include <gdfontt.h>
#include <gdfonts.h>
#include <gdfontmb.h>
#include <gdfontl.h>
#include <gdfontg.h>
#include "gd_arginfo.h"
Go to the source code of this file.
◆ CHECK_RGBA_RANGE
#define CHECK_RGBA_RANGE |
( |
| component, |
|
|
| name, |
|
|
| argument_number ) |
Value: if (component < 0 || component > gd##
name##Max) { \
zend_argument_value_error(argument_number,
"must be between 0 and %d (inclusive)", gd##
name##Max); \
RETURN_THROWS(); \
}
Definition at line 945 of file gd.c.
◆ CTX_PUTC
Value:
Definition at line 4419 of file gd.c.
◆ FLIPWORD
Value:(((
a & 0xff000000) >> 24) | ((
a & 0x00ff0000) >> 8) | ((
a & 0x0000ff00) << 8) | ((
a & 0x000000ff) << 24))
Definition at line 525 of file gd.c.
◆ M_PI
#define M_PI 3.14159265358979323846 |
Definition at line 88 of file gd.c.
◆ PHP_GD_FLIP_BOTH
Definition at line 94 of file gd.c.
◆ PHP_GD_FLIP_HORIZONTAL
#define PHP_GD_FLIP_HORIZONTAL 1 |
Definition at line 92 of file gd.c.
◆ PHP_GD_FLIP_VERTICAL
#define PHP_GD_FLIP_VERTICAL 2 |
Definition at line 93 of file gd.c.
◆ PHP_GD_SINGLE_RES
Value:
RETURN_THROWS(); \
} \
zend_class_entry * gd_image_ce
PHP_GD_API gdImagePtr php_gd_libgdimageptr_from_zval_p(zval *zp)
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec,...)
Definition at line 3448 of file gd.c.
◆ PHP_GD_VERSION_STRING
Definition at line 374 of file gd.c.
◆ TTFTEXT_BBOX
◆ TTFTEXT_DRAW
◆ php_gd_font_object
◆ php_gd_image_object
◆ overflow2()
int overflow2 |
( |
int | a, |
|
|
int | b ) |
◆ PHP_FUNCTION() [1/90]
Definition at line 464 of file gd.c.
◆ PHP_FUNCTION() [2/90]
◆ PHP_FUNCTION() [3/90]
◆ PHP_FUNCTION() [4/90]
◆ PHP_FUNCTION() [5/90]
Definition at line 886 of file gd.c.
◆ PHP_FUNCTION() [6/90]
◆ PHP_FUNCTION() [7/90]
◆ PHP_FUNCTION() [8/90]
◆ PHP_FUNCTION() [9/90]
◆ PHP_FUNCTION() [10/90]
◆ PHP_FUNCTION() [11/90]
Definition at line 952 of file gd.c.
◆ PHP_FUNCTION() [12/90]
◆ PHP_FUNCTION() [13/90]
◆ PHP_FUNCTION() [14/90]
◆ PHP_FUNCTION() [15/90]
◆ PHP_FUNCTION() [16/90]
◆ PHP_FUNCTION() [17/90]
◆ PHP_FUNCTION() [18/90]
◆ PHP_FUNCTION() [19/90]
Definition at line 766 of file gd.c.
◆ PHP_FUNCTION() [20/90]
◆ PHP_FUNCTION() [21/90]
Definition at line 983 of file gd.c.
◆ PHP_FUNCTION() [22/90]
◆ PHP_FUNCTION() [23/90]
◆ PHP_FUNCTION() [24/90]
◆ PHP_FUNCTION() [25/90]
◆ PHP_FUNCTION() [26/90]
◆ PHP_FUNCTION() [27/90]
◆ PHP_FUNCTION() [28/90]
◆ PHP_FUNCTION() [29/90]
◆ PHP_FUNCTION() [30/90]
◆ PHP_FUNCTION() [31/90]
◆ PHP_FUNCTION() [32/90]
◆ PHP_FUNCTION() [33/90]
◆ PHP_FUNCTION() [34/90]
◆ PHP_FUNCTION() [35/90]
◆ PHP_FUNCTION() [36/90]
◆ PHP_FUNCTION() [37/90]
◆ PHP_FUNCTION() [38/90]
◆ PHP_FUNCTION() [39/90]
◆ PHP_FUNCTION() [40/90]
Definition at line 669 of file gd.c.
◆ PHP_FUNCTION() [41/90]
◆ PHP_FUNCTION() [42/90]
◆ PHP_FUNCTION() [43/90]
◆ PHP_FUNCTION() [44/90]
◆ PHP_FUNCTION() [45/90]
◆ PHP_FUNCTION() [46/90]
◆ PHP_FUNCTION() [47/90]
Definition at line 848 of file gd.c.
◆ PHP_FUNCTION() [48/90]
Definition at line 825 of file gd.c.
◆ PHP_FUNCTION() [49/90]
◆ PHP_FUNCTION() [50/90]
◆ PHP_FUNCTION() [51/90]
◆ PHP_FUNCTION() [52/90]
◆ PHP_FUNCTION() [53/90]
◆ PHP_FUNCTION() [54/90]
◆ PHP_FUNCTION() [55/90]
◆ PHP_FUNCTION() [56/90]
◆ PHP_FUNCTION() [57/90]
◆ PHP_FUNCTION() [58/90]
◆ PHP_FUNCTION() [59/90]
◆ PHP_FUNCTION() [60/90]
◆ PHP_FUNCTION() [61/90]
◆ PHP_FUNCTION() [62/90]
◆ PHP_FUNCTION() [63/90]
Definition at line 700 of file gd.c.
◆ PHP_FUNCTION() [64/90]
Definition at line 926 of file gd.c.
◆ PHP_FUNCTION() [65/90]
◆ PHP_FUNCTION() [66/90]
Definition at line 528 of file gd.c.
◆ PHP_FUNCTION() [67/90]
◆ PHP_FUNCTION() [68/90]
◆ PHP_FUNCTION() [69/90]
Definition at line 746 of file gd.c.
◆ PHP_FUNCTION() [70/90]
◆ PHP_FUNCTION() [71/90]
◆ PHP_FUNCTION() [72/90]
◆ PHP_FUNCTION() [73/90]
◆ PHP_FUNCTION() [74/90]
Definition at line 906 of file gd.c.
◆ PHP_FUNCTION() [75/90]
◆ PHP_FUNCTION() [76/90]
◆ PHP_FUNCTION() [77/90]
◆ PHP_FUNCTION() [78/90]
◆ PHP_FUNCTION() [79/90]
◆ PHP_FUNCTION() [80/90]
Definition at line 632 of file gd.c.
◆ PHP_FUNCTION() [81/90]
Definition at line 805 of file gd.c.
◆ PHP_FUNCTION() [82/90]
◆ PHP_FUNCTION() [83/90]
◆ PHP_FUNCTION() [84/90]
◆ PHP_FUNCTION() [85/90]
◆ PHP_FUNCTION() [86/90]
◆ PHP_FUNCTION() [87/90]
Definition at line 716 of file gd.c.
◆ PHP_FUNCTION() [88/90]
◆ PHP_FUNCTION() [89/90]
◆ PHP_FUNCTION() [90/90]
◆ php_gd_assign_libgdimageptr_as_extgdimage()
Creates a new GdImage object wrapping the gdImagePtr and attaches it to the zval (usually return_value).
This function must only be called once per valid gdImagePtr
Definition at line 195 of file gd.c.
◆ php_gd_error_method()
void php_gd_error_method |
( |
int | type, |
|
|
const char * | format, |
|
|
va_list | args ) |
Definition at line 311 of file gd.c.
◆ php_gd_image_object_create()
Definition at line 168 of file gd.c.
◆ php_gd_libgdimageptr_from_zval_p()
Converts an extension GdImage instance contained within a zval into the gdImagePtr for use with library APIs
Definition at line 162 of file gd.c.
◆ PHP_MINFO_FUNCTION()
PHP_MINFO_FUNCTION |
( |
gd | | ) |
|
Definition at line 378 of file gd.c.
◆ PHP_MINIT_FUNCTION()
PHP_MINIT_FUNCTION |
( |
gd | | ) |
|
Definition at line 332 of file gd.c.
◆ PHP_MSHUTDOWN_FUNCTION()
PHP_MSHUTDOWN_FUNCTION |
( |
gd | | ) |
|
Definition at line 351 of file gd.c.
◆ PHP_RSHUTDOWN_FUNCTION()
PHP_RSHUTDOWN_FUNCTION |
( |
gd | | ) |
|
Definition at line 362 of file gd.c.
◆ gd_image_ce
Definition at line 134 of file gd.c.
◆ gd_module_entry
Initial value:= {
"gd",
ext_functions,
PHP_GD_VERSION,
}
#define STANDARD_MODULE_HEADER
#define STANDARD_MODULE_PROPERTIES
Definition at line 287 of file gd.c.