git.ucc.asn.au
/
ipdf
/
code.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
All of the SDL2 graphics stuff.
[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