Claw  1.7.3
Public Member Functions
claw::graphic::bitmap::writer Class Reference

This class write an image in a bitmap file. More...

#include <bitmap.hpp>

Inherits claw::graphic::bitmap::file_structure.

List of all members.

Public Member Functions

 writer (const image &img)
 Constructor.
 writer (const image &img, std::ostream &f)
 Constructor.
void save (std::ostream &f) const
 Save the bitmap in a file.

Detailed Description

This class write an image in a bitmap file.

Author:
Julien Jorge

Definition at line 296 of file bitmap.hpp.


Constructor & Destructor Documentation

Constructor.

Parameters:
imgThe image to save.

Definition at line 38 of file bitmap_writer.cpp.

claw::graphic::bitmap::writer::writer ( const image img,
std::ostream &  f 
)

Constructor.

Parameters:
imgThe image to save.
fThe file in which we save the data.

Definition at line 50 of file bitmap_writer.cpp.

References save().


Member Function Documentation

void claw::graphic::bitmap::writer::save ( std::ostream &  f) const

Save the bitmap in a file.

Parameters:
fDestination file.

Definition at line 61 of file bitmap_writer.cpp.

Referenced by writer().


The documentation for this class was generated from the following files: