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