Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ImageStorer Class Reference

Stores a map as an image file. More...

#include <image_storer.h>

List of all members.

Static Public Methods

bool store (QIODevice *device, char const *format, Map const &map, int piece_size, Theme const &theme, int direction, bool use_background, bool low_quality)
QImage createImage (Map const &map, int piece_size, Theme const &theme, int direction, bool use_background, bool low_quality)


Detailed Description

Stores a map as an image file.

Author:
Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
Version:
0.1


Member Function Documentation

QImage ImageStorer::createImage Map const & map,
int piece_size,
Theme const & theme,
int direction,
bool use_background,
bool low_quality
[static]
 

The same as store(), only that the image itself is returned.

bool ImageStorer::store QIODevice * device,
char const * format,
Map const & map,
int piece_size,
Theme const & theme,
int direction,
bool use_background,
bool low_quality
[static]
 

Stores the given map as an image.

Parameters:
device   The device to use.
format   The format to use.
map   The map to display.
piece_size   The size of a field (width and height).
theme   The theme to use.
direction   The direction of the keeper.
use_background   If true, we use the background of the theme.
low_quality   If true, we use only low quality.
Returns:
True, if everything went fine or an error code otherwise.


The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:11 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001