24 int main(
int ,
char ** argv)
33 if(getenv(
"SRCDIR") != 0)
34 srcdir = getenv(
"SRCDIR");
39 list<Image> animation;
56 for (
int angle = 0; angle < 360; angle += 30 )
58 cout <<
"angle " << angle << endl;
69 animation.push_back( pic );
71 cout <<
"Writing image \"gravity_out.miff\" ..." << endl;
72 writeImages( animation.begin(), animation.end(),
"gravity_out.miff" );
76 catch( exception &error_ )
78 cout <<
"Caught exception: " << error_.what() << endl;
class MagickPPExport Color
void annotate(const std::string &text_, const Geometry &location_)
void strokeColor(const Color &strokeColor_)
void boxColor(const Color &boxColor_)
void fontPointsize(const double pointSize_)
class MagickPPExport Geometry
void writeImages(InputIterator first_, InputIterator last_, const std::string &imageSpec_, bool adjoin_=true)
void fillColor(const Color &fillColor_)
void draw(const Drawable &drawable_)
void density(const Geometry &geomery_)
void animationDelay(const size_t delay_)
int main(int, char **argv)
MagickPPExport void InitializeMagick(const char *path_)
void depth(const size_t depth_)
void compressType(const CompressionType compressType_)