[magick-users] Bug? Image::draw(std::list)

Preben 64bit at mailme.dk
Sun Jun 21 23:41:51 PDT 2009


Hi

I had some trouble getting this working:

-----------
std::list<Magick::Drawable> list;
list.push_back(Magick::DrawableFont("Arial"));
list.push_back(100, 100, Magick::DrawableText("Some text"));

img.draw(list)
-----------

It works fine in the debug version I compiled myself, however with the 
release version I get an unhandled exception which I cannot figure out. 
However changing the code to:
-----------
img.draw(Magick::DrawableFont("Arial"));
img.draw(Magick::DrawableText(100, 100, "Some text"));
-----------

works in both release and debug.

The version I use is 6.5.2-Q8 (both release and debug).


Regards
Preben


More information about the Magick-users mailing list