David's final changes: more profiler features, fixes.
[ipdf/code.git] / src / view.h
index 124ae07..e1b3291 100644 (file)
@@ -8,7 +8,7 @@
 #include "path.h"
 #include "transformationtype.h"
 
-#define USE_GPU_TRANSFORM tru
+#define USE_GPU_TRANSFORM fals
 #define USE_GPU_RENDERING true
 #define USE_SHADING !(USE_GPU_RENDERING) && true
 
 
 namespace IPDF
 {
-       #ifdef TRANSFORM_BEZIERS_TO_PATH
-               typedef Real VReal;
-       #else
-               typedef Real VReal;
-       #endif
        typedef TRect<VReal> VRect;
        
        class Screen;
@@ -83,6 +78,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