Added Document and View classes
[ipdf/code.git] / src / document.cpp
1 #include "document.h"
2
3 using namespace IPDF;
4 using namespace std;
5
6 void Document::Load(const string & filename)
7 {
8         m_objects.bounds.clear();
9         m_count = 0;
10         if (filename == "")
11                 return;
12 }
13
14 void Document::Add(Real x, Real y, Real w, Real h)
15 {
16         m_objects.bounds.push_back(Rect(x, y, w, h));
17         m_count++;
18 }

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