Red Hat Bugzilla – Bug 198042
line thickness is ignored when drawing antialiased lines
Last modified: 2007-11-30 17:11:36 EST
Description of problem:
If gdImageLine is called with the draw color as gdAntiAliased, the resulting
line is always a (perceptually) 1-pixel thick line, regardless of what value was
called with gdImageSetThickness.
Version-Release number of selected component (if applicable):
Set thickness to n > 1. Draw a line with the antialased color.
A 1-pixel wide AA line is drawn.
An n-pixel wide AA line is drawn.
Created attachment 132107 [details]
This short C program displays the problem:
gcc -o foo -lgd foo.c
Fixed in gd-2.0.33-10.fc7.
Great! Thanks very much!