summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2002-12-11 20:47:26 +0000
committerPierre Joye <pajoye@php.net>2002-12-11 20:47:26 +0000
commit983d8e5efdc1762750bf6c9f1a814f9e5a68d213 (patch)
tree1e6079a5d23a0a201cc8c2a287f663d450b453fe
parent7ec74f64f98f86f3feddf835f6184b10d9c60e03 (diff)
downloadphp-git-983d8e5efdc1762750bf6c9f1a814f9e5a68d213.tar.gz
Add antialias flag to image structure
Add AA support
-rw-r--r--ext/gd/libgd/gd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd.h b/ext/gd/libgd/gd.h
index a08df2892d..4cf7078635 100644
--- a/ext/gd/libgd/gd.h
+++ b/ext/gd/libgd/gd.h
@@ -141,6 +141,8 @@ typedef struct gdImageStruct {
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 @@ void gdImageSetPixel(gdImagePtr im, int x, int y, int color);
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 @@ void gdImageSetThickness(gdImagePtr im, int thickness);
/* 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. */