]> granicus.if.org Git - php/commitdiff
@ Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
authorSterling Hughes <sterling@php.net>
Fri, 18 May 2001 20:52:40 +0000 (20:52 +0000)
committerSterling Hughes <sterling@php.net>
Fri, 18 May 2001 20:52:40 +0000 (20:52 +0000)
@ specified that the drawn curve should be rounded. (Sterling)

ext/gd/gd.c

index 72578e5a5a6fb18845b7b7a8f134d5112f8ee103..df599adb6a2bcb9b01db899aeb63c51dce4a1c60 100644 (file)
@@ -239,6 +239,7 @@ PHP_MINIT_FUNCTION(gd)
 #endif
 #if HAVE_LIBGD20
        /* for imagefilledarc */
+       REGISTER_LONG_CONSTANT("IMG_ARC_ROUNDED", gdArc, CONST_CS | CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("IMG_ARC_PIE", gdPie, CONST_CS | CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("IMG_ARC_CHORD", gdChord, CONST_CS | CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("IMG_ARC_NOFILL", gdNoFill, CONST_CS | CONST_PERSISTENT);