1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
//#ifndef CLASS_NCINE_TEXTURESAVERPNG
//#define CLASS_NCINE_TEXTURESAVERPNG
//
//#include "ITextureSaver.h"
//
//namespace nCine {
//
///// PNG texture saver
//class TextureSaverPng : public ITextureSaver
//{
// public:
// struct PngProperties
// {
// PngProperties()
// : title(nullptr) {}
//
// char *title;
// };
//
// bool saveToFile(const Properties &properties, const char *filename) override;
// bool saveToFile(const Properties &properties, std::unique_ptr<IFile> fileHandle) override;
//
// bool saveToFile(const Properties &properties, const PngProperties &pngProperties, const char *filename);
// bool saveToFile(const Properties &properties, const PngProperties &pngProperties, std::unique_ptr<IFile> fileHandle);
//};
//
//}
//
//#endif
|