[magick-users] Magick++ DrawablePoint bug?

rez at eliezedeck.com rez at eliezedeck.com
Thu May 1 04:39:32 PDT 2008


Hi guys,

I don't know what do I do wrong, but I can't seem to have a point
plotted the way I expected.

         Image image(Geometry(100, 100), Color(QuantumRange, 0, 0, 0));
         image.strokeColor(Color(0, QuantumRange, 0, 0));
         image.strokeWidth(8);

         list<Drawable> drawList;
         drawList.push_back(DrawablePoint(25, 25));
         drawList.push_back(DrawablePoint(50, 50));
         drawList.push_back(DrawablePoint(75, 75));

         image.draw(drawList);

The problem is: I always get black dots instead of colored dots of width
1 pixel only. Though, when I work with polylines and lines, it works as
expected.

I kinda sens that this is a bug, and thus, please look at it.

Thanks guys,
Elie Zedeck.



More information about the Magick-users mailing list