24#ifndef UTIL_CAIRO_KAGE_H
25 #define UTIL_CAIRO_KAGE_H
28 #include <cairomm/surface.h>
34 static std::ofstream pngFile;
37 static Cairo::ErrorStatus
writeToPNGStream(
const unsigned char* data,
unsigned int length);
38 static bool writeToPNG(
string p_path, Cairo::RefPtr<Cairo::ImageSurface> p_surface);
Definition: cairo_kage.h:33
static Cairo::ErrorStatus writeToPNGStream(const unsigned char *data, unsigned int length)
Definition: cairo_kage.cpp:28
static bool writeToPNG(string p_path, Cairo::RefPtr< Cairo::ImageSurface > p_surface)
Definition: cairo_kage.cpp:38