_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
◆ Image()
Image::Image |
( |
const std::string & |
filename | ) |
|
|
inline |
Load an image from a given png source
◆ ~Image()
◆ get_height()
int Image::get_height |
( |
| ) |
|
|
inline |
◆ get_transcolor()
int Image::get_transcolor |
( |
| ) |
|
|
inline |
◆ get_width()
◆ num_colors()
int Image::num_colors |
( |
| ) |
|
|
inline |
◆ set_color()
◆ swap_colors()
void Image::swap_colors |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inline |
swaps color a and color b in both the palette and the image
◆ write_png()
void Image::write_png |
( |
std::string |
filename | ) |
|
|
inline |
insert palette converter here
The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The