# HG changeset patch # User tomwalters # Date 1287959749 0 # Node ID 9c26f6532ea37f0e684435945925633a03a33611 # Parent a908972d234e34b54d30e77e0c0fb93fbd42e451 - Linux build for cairo module diff -r a908972d234e -r 9c26f6532ea3 trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc --- a/trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc Thu Oct 21 01:46:39 2010 +0000 +++ b/trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc Sun Oct 24 22:35:49 2010 +0000 @@ -31,8 +31,9 @@ #include #include #include +#include -#include "cairo-quartz.h" +//#include "cairo-quartz.h" #include "Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h" @@ -84,7 +85,7 @@ // Cairo's RGB24 format has 32-bit pixels with the upper 8 bits unused. // This is not the same as the plotutils PNG format. This information is transferred by the // function GetPixelFormat. The pixel format is dealt with by the reciever. - m_cSurface = cairo_quartz_surface_create(CAIRO_FORMAT_RGB24, + m_cSurface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, m_iWidth, m_iHeight); m_cCr = cairo_create(m_cSurface);