The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Apps/unix/Hello/hello.cpp

Go to the documentation of this file.
00001 
00013 #include <Magick++.h>
00014 
00015 using namespace Magick;
00016 using namespace std;
00017 
00019 int main()
00020 {
00021   Image img("../../Media/ExampleImage.jpg");
00022   
00023   img.fontPointsize(100);
00024   // Geometry(width, height, xoffset, yoffset)    
00025   img.annotate("Hello", Geometry(400,400, 20, 220) );
00026   img.write("Output1.pdf");
00027   
00028   img.display();
00029 
00030   return 0;
00031 }

Generated on Mon Nov 8 17:07:35 2004 for MPT by  doxygen 1.3.9.1