Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
IImageWriter.hpp
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in jimcpp/jimcpp.hpp
4
5#ifndef JPP_I_IMAGE_WRITER_HPP_INCLUDED
6#define JPP_I_IMAGE_WRITER_HPP_INCLUDED
7
8#include <jimcpp/core/engine/IReferenceCounted.hpp>
9#include <jimcpp/core/engine/irrString.hpp>
10#include <jimcpp/core/engine/coreutil.hpp>
11
12namespace jpp
13{
14namespace io
15{
16 class IWriteFile;
17} // end namespace io
18
19namespace video
20{
21 class IImage;
22
23
26{
27public:
29
31 virtual bool isAWriteableFileExtension(const io::path& filename) const = 0;
32
34
38 virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param = 0) const = 0;
39};
40
41} // namespace video
42} // namespace jpp
43
44#endif // JPP_I_IMAGE_WRITER_HPP_INCLUDED
Base class of most objects of the Jimcpp Engine.
Definition IReferenceCounted.hpp:46
Interface providing write access to a file.
Definition IWriteFile.hpp:18
Interface for writing software image data.
Definition IImageWriter.hpp:26
virtual bool isAWriteableFileExtension(const io::path &filename) const =0
Check if this writer can write a file with the given extension.
virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param=0) const =0
Write image to file.
Interface for software image data.
Definition IImage.hpp:26
As of Jimcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64

Jimcpp    @cppfx.xyz

K