CMake support. We don't have to use it, but it's there if we do.
[ipdf/code.git] / src / main.cpp
index 273d82a..2a85c14 100644 (file)
@@ -10,7 +10,8 @@ using namespace IPDF;
 int main(int argc, char ** argv)
 {
        Document doc;
-       doc.Add(0.5, 0.5, 0.5, 0.5);
+       srand(time(NULL));
+       doc.Add(RECT_FILLED, Rect(Random(), Random(), Random(), Random()));
 
        View view(doc);
 

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