Crazy std::vector<T> loader and saver.
[ipdf/code.git] / src / ipdf.h
index e150088..8ee30c3 100644 (file)
@@ -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