Go to the source code of this file.
Classes | |
class | Gosu::Bitmap |
Rectangular area of pixels, each represented by a Color value. More... | |
Namespaces | |
namespace | Gosu |
The library's main namespace. | |
Functions | |
Reader | Gosu::loadFromBMP (Bitmap &bmp, Reader reader) |
Loads a Windows or OS/2 BMP file into the given bitmap. | |
Writer | Gosu::saveToBMP (const Bitmap &bmp, Writer writer) |
Saves the contents of the given bitmap into windows BMP file data. | |
Reader | Gosu::loadFromPNG (Bitmap &bmp, Reader reader) |
Loads a PNG file into the given bitmap. | |
Writer | Gosu::saveToPNG (const Bitmap &bmp, Writer writer) |
Saves the contents of the given bitmap into PNG file data, 24 bits. | |
void | Gosu::applyColorKey (Bitmap &bitmap, Color key) |
Set the alpha value of all pixels which are equal to the color key to zero. | |
void | Gosu::applyBorderFlags (Bitmap &dest, const Bitmap &source, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, unsigned borderFlags) |
Bitmap | Gosu::quickLoadBitmap (const std::wstring &filename) |
Definition in file Bitmap.hpp.