17 int main( 
int , 
char ** argv)
    26     if(getenv(
"SRCDIR") != 0)
    27       srcdir = getenv(
"SRCDIR");
    32     Image image( 
"300x300", 
"white" );
    35     std::vector<Magick::Drawable> drawList;
    46     for ( 
int i=0; i < 300; i += 10 )
    72       std::vector<Magick::Coordinate> points;
    84       const double dash_array[] = {4.0, 3.0, 0.0};
   104       std::vector<VPath> path;
   120       std::vector<Magick::Coordinate> points;
   146 #if MAGICKCORE_FREETYPE_DELEGATE   147     if (getenv(
"MAGICK_FONT") != 0)
   148       drawList.push_back(
DrawableFont(
string(getenv(
"MAGICK_FONT"))));
   154     drawList.push_back(
DrawableText(0,0,
"This is a test!"));
   162     image.
draw(drawList);
   166     cout << 
"Writing image \"piddle_out.miff\" ..." << endl;
   169     image.
write( 
"piddle_out.miff" );
   170     cout << 
"Writing MVG metafile \"piddle_out.mvg\" ..." << endl;
   171     image.
write( 
"piddle_out.mvg" );
   177   catch( exception &error_ )
   179       cout << 
"Caught exception: " << error_.what() << endl;
 class MagickPPExport Color
int main(int, char **argv)
void draw(const Drawable &drawable_)
size_t columns(void) const
MagickPPExport void InitializeMagick(const char *path_)
void depth(const size_t depth_)
void compressType(const CompressionType compressType_)