cvs: php4 /ext/gd/libgd gd.h

From: Date: Wed, 11 Dec 2002 20:47:26 +0000
Subject: cvs: php4 /ext/gd/libgd gd.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17139@lists.php.net to get a copy of this message
pajoye Wed Dec 11 15:47:26 2002 EDT Modified files: /php4/ext/gd/libgd gd.h Log: Add antialias flag to image structure Add AA support Index: php4/ext/gd/libgd/gd.h diff -u php4/ext/gd/libgd/gd.h:1.11 php4/ext/gd/libgd/gd.h:1.12 --- php4/ext/gd/libgd/gd.h:1.11 Wed Dec 4 15:58:04 2002 +++ php4/ext/gd/libgd/gd.h Wed Dec 11 15:47:26 2002 @@ -141,6 +141,8 @@ To do that, build your image as a truecolor image, then quantize down to 8 bits. */ int alphaBlendingFlag; + /* Should antialias functions be used */ + int antialias; /* Should the alpha channel of the image be saved? This affects PNG at the moment; other future formats may also have that capability. JPEG doesn't. */ @@ -244,6 +246,7 @@ int gdImageGetPixel(gdImagePtr im, int x, int y); void gdImageLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color); +void gdImageAALine(gdImagePtr im, int x1, int y1, int x2, int y2, int color); /* For backwards compatibility only. Use gdImageSetStyle() for much more flexible line drawing. */ @@ -479,6 +482,7 @@ /* On or off (1 or 0) for all three of these. */ void gdImageInterlace(gdImagePtr im, int interlaceArg); void gdImageAlphaBlending(gdImagePtr im, int alphaBlendingArg); +void gdImageAntialias(gdImagePtr im, int antialias); void gdImageSaveAlpha(gdImagePtr im, int saveAlphaArg); /* Macros to access information about images. */

« previous php.cvs (#17139) next »