7c3d8ad0c7
problem we're seeing (at least I couldn't reproduce the problem anymore). * SaveToPNG() now returns an error code. * cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14813 a95241bf-73f2-0310-859d-f6bbb57e9c96
21 lines
372 B
C++
21 lines
372 B
C++
/*
|
|
* Copyright 2001-2005, Haiku.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* DarkWyrm <bpmagic@columbus.rr.com>
|
|
*/
|
|
#ifndef PNGDUMP_H
|
|
#define PNGDUMP_H
|
|
|
|
|
|
#include <GraphicsDefs.h>
|
|
|
|
class BRect;
|
|
|
|
|
|
status_t SaveToPNG(const char* filename, const BRect& bounds, color_space space,
|
|
const void* bits, int32 bitsLength, int32 bytesPerRow);
|
|
|
|
#endif
|