Code: Select all
list<Magick::Drawable> drawList;
drawList.push_back( Magick::DrawableGravity(Magick::SouthGravity) );
drawList.push_back( Magick::DrawableFillColor("black") );
drawList.push_back( Magick::DrawableStrokeColor("black") );
drawList.push_back( Magick::DrawableFont(fontface) );
drawList.push_back( Magick::DrawablePointSize(30) );
drawList.push_back( Magick::DrawableText(0.5*pContext->width,pContext->height-50,text) );
desktop.draw( drawList );