git.ucc.asn.au
/
ipdf
/
code.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
273d82a5bd0901ca32c4c044bf55b0c86b7a9764
[ipdf/code.git]
/
main.cpp
1
#include "common.h"
2
3
#include "document.h"
4
#include "view.h"
5
#include "screen.h"
6
7
using namespace std;
8
using namespace IPDF;
9
10
int main(int argc, char ** argv)
11
{
12
Document doc;
13
doc.Add(0.5, 0.5, 0.5, 0.5);
14
15
View view(doc);
16
17
Screen scr;
18
19
while (scr.PumpEvents())
20
{
21
view.Render();
22
scr.Present();
23
}
24
25
return 0;
26
}
UCC
git Repository :: git.ucc.asn.au