git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Crazy std::vector<T> loader and saver.
[ipdf/code.git]
/
src
/
ipdf.h
diff --git
a/src/ipdf.h
b/src/ipdf.h
index
e150088
..
8ee30c3
100644
(file)
--- a/
src/ipdf.h
+++ b/
src/ipdf.h
@@
-14,6
+14,13
@@
namespace IPDF
}
typedef unsigned ObjectID;
+ typedef enum {RECT_FILLED, RECT_OUTLINE} ObjectType;
+
+ enum DocChunkTypes
+ {
+ CT_OBJTYPES,
+ CT_OBJBOUNDS
+ };
struct Rect
{
@@
-30,6
+37,7
@@
namespace IPDF
struct Objects
{
+ std::vector<ObjectType> types;
std::vector<Rect> bounds;
};
UCC
git Repository :: git.ucc.asn.au