pajoye          Mon Jan 20 20:49:34 2003 EDT

  Modified files:              
    /php4/ext/gd/libgd  gd.c 
  Log:
  Add credits to my functions (thx for the advice Wez&Ilia :)
  
  
Index: php4/ext/gd/libgd/gd.c
diff -u php4/ext/gd/libgd/gd.c:1.41 php4/ext/gd/libgd/gd.c:1.42
--- php4/ext/gd/libgd/gd.c:1.41 Fri Jan 17 13:34:07 2003
+++ php4/ext/gd/libgd/gd.c      Mon Jan 20 20:49:34 2003
@@ -1077,6 +1077,11 @@
        }
 }
 
+
+/*
+ * Added on 2003/12 by Pierre-Alain Joye ([EMAIL PROTECTED])
+ * (c) 2003 Pierre-Alain Joye
+ * */
 #define BLEND_COLOR(a, nc, c, cc) \
 nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8);
 
@@ -1098,6 +1103,10 @@
        im->tpixels[y][x]=gdTrueColorAlpha(dr, dg, db,  gdAlphaOpaque);
 }  
 
+/*
+ * Added on 2003/12 by Pierre-Alain Joye ([EMAIL PROTECTED])
+ * (c) 2003 Pierre-Alain Joye
+ **/
 void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int col)
 {
        /* keep them as 32bits */
@@ -2331,6 +2340,13 @@
        }
 }
 
+
+/*
+ * Rotate function Added on 2003/12 
+ * by Pierre-Alain Joye ([EMAIL PROTECTED])
+ * (c) 2003 Pierre-Alain Joye
+ **/
+/* Begin rotate function */
 #ifdef ROTATE_PI
 #undef ROTATE_PI
 #endif /* ROTATE_PI */
@@ -2762,6 +2778,7 @@
        
        return rotatedImg;
 }
+/* End Rotate function */
 
 gdImagePtr
 gdImageCreateFromXbm (FILE * fd)
@@ -3293,6 +3310,12 @@
        }
 }
 
+
+/* Filters function added on 2003/12 
+ * by Pierre-Alain Joye ([EMAIL PROTECTED])
+ * (c) 2003 Pierre-Alain Joye
+ **/
+/* Begin filters function */
 #ifndef HAVE_GET_TRUE_COLOR
 #define 
GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel)
 #endif
@@ -3745,3 +3768,4 @@
        
        return gdImageConvolution(im, filter, weight+8, 0);
 }
+/* End filters function */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to