![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
Interface for writing software image data. More...
#include <duckcpp/core/engine/IImageWriter.hpp>
Public Member Functions | |
virtual bool | isAWriteableFileExtension (const dcpp::io::path &filename) const =0 |
Check if this writer can write a file with the given extension. | |
virtual bool | writeImage (dcpp::io::IWriteFile *file, IImage *image, dcpp::uint32_kt param=0) const =0 |
Write image to file. | |
![]() | |
IReferenceCounted () | |
Constructor. | |
virtual | ~IReferenceCounted () |
Destructor. | |
void | grab () const |
Grabs the object. Increments the reference counter by one. | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. | |
dcpp::int32_kt | getReferenceCount () const |
Get the reference count. | |
const dcpp::char_kt * | getDebugName () const |
Returns the debug name of the object. | |
Additional Inherited Members | |
![]() | |
void | setDebugName (const dcpp::char_kt *newName) |
Sets the debug name of the object. | |
Interface for writing software image data.
|
pure virtual |
Check if this writer can write a file with the given extension.
filename | Name of the file to check. |
|
pure virtual |
Write image to file.
file | File handle to write to. |
image | Image to write into file. |
param | Writer specific parameter, influencing e.g. quality. |