instead of being composited propperly. This won't be correct with
non-white backgrounds. Too bad. Use cairo.
for (i = 0; i < 10; i++)
dashstyle[i] = obj->pencolor.u.index;
for (; i < 20; i++)
- dashstyle[i] = transparent;
+ dashstyle[i] = white;
gdImageSetStyle(im, dashstyle, 20);
pen = gdStyled;
} else if (obj->pen == PEN_DOTTED) {
for (i = 0; i < 2; i++)
dashstyle[i] = obj->pencolor.u.index;
for (; i < 14; i++)
- dashstyle[i] = transparent;
+ dashstyle[i] = white;
gdImageSetStyle(im, dashstyle, 12);
pen = gdStyled;
} else {