Bugfixes, performance fixes, tears.
[ipdf/code.git] / src / view.h
index 712b95a..f1ac789 100644 (file)
@@ -8,7 +8,7 @@
 #include "path.h"
 #include "transformationtype.h"
 
-#define USE_GPU_TRANSFORM fals
+#define USE_GPU_TRANSFORM tru
 #define USE_GPU_RENDERING true
 #define USE_SHADING !(USE_GPU_RENDERING) && true
 
@@ -19,7 +19,7 @@
 namespace IPDF
 {
        #ifdef TRANSFORM_BEZIERS_TO_PATH
-               typedef Gmprat VReal;
+               typedef Real VReal;
        #else
                typedef Real VReal;
        #endif
@@ -83,6 +83,9 @@ namespace IPDF
                        void SaveGPUBMP(const char * filename);
 
                        Document & Doc() {return m_document;}
+#ifndef QUADTREE_DISABLED
+                       QuadTreeIndex GetCurrentQuadtreeNode() { return m_current_quadtree_node; }
+#endif
 
                private:
                        struct GPUObjBounds

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