comparison src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc @ 118:18237d55e346

- A few changes to get graphics working. In progress.
author tom@acousticscale.org
date Sat, 16 Oct 2010 22:27:03 +0000
parents c5ac2f0c7fc5
children 9d880fb93c39
comparison
equal deleted inserted replaced
117:c5ac2f0c7fc5 118:18237d55e346
30 #include <sys/stat.h> 30 #include <sys/stat.h>
31 #include <string.h> 31 #include <string.h>
32 #include <stdio.h> 32 #include <stdio.h>
33 #include <math.h> 33 #include <math.h>
34 34
35 #include "Support/util.h" 35 #include "Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h"
36 #include "Output/GraphicsOutputDeviceCairo.h" 36
37 namespace aimc {
37 38
38 GraphicsOutputDeviceCairo::GraphicsOutputDeviceCairo(Parameters *pParam) 39 GraphicsOutputDeviceCairo::GraphicsOutputDeviceCairo(Parameters *pParam)
39 : GraphicsOutputDevice(pParam) { 40 : GraphicsOutputDevice(pParam) {
40 m_bOutputFile = false; 41 m_bOutputFile = false;
41 m_iFileNumber = 0; 42 m_iFileNumber = 0;
42 m_iVertexType = VertexTypeNone; 43 m_iVertexType = VertexTypeNone;
43 m_bUseMemoryBuffer=false; 44 m_bUseMemoryBuffer=false;
44 } 45 }
279 AIM_ASSERT(m_iPlotHandle>0); 280 AIM_ASSERT(m_iPlotHandle>0);
280 CloseFile(); 281 CloseFile();
281 // Finished this one, up to the next! 282 // Finished this one, up to the next!
282 m_iFileNumber++; 283 m_iFileNumber++;
283 } 284 }
285 } // namespace aimc