Added Document and View classes
[ipdf/code.git] / src / main.cpp
index 5b8d4b8..701e163 100644 (file)
@@ -1,14 +1,18 @@
 #include "common.h"
 
-#include "ipdf.h"
+#include "document.h"
+#include "view.h"
 
 using namespace std;
 using namespace IPDF;
 
 int main(int argc, char ** argv)
 {
-       Real a = 10;
-       Real b = 20;
-       Debug("a*b = %f", RealToFloat(a*b));
+       Document doc;
+       doc.Add(0.5, 0.5, 0.5, 0.5);
+
+       View view(doc);
+       view.Render();
+
        return 0;
 }

UCC git Repository :: git.ucc.asn.au