Gosu
|
Go to the source code of this file.
Classes | |
class | Gosu::Bitmap |
A two-dimensional array area of pixels, each represented by a Color value. More... | |
Namespaces | |
Gosu | |
Functions | |
Bitmap | Gosu::load_image_file (const std::string &filename) |
Loads any supported image into a Bitmap. More... | |
Bitmap | Gosu::load_image_file (Reader input) |
Loads any supported image into a Bitmap. More... | |
void | Gosu::save_image_file (const Bitmap &bitmap, const std::string &filename) |
Saves a Bitmap to a file. More... | |
void | Gosu::save_image_file (const Bitmap &bitmap, Writer writer, const std::string_view &format_hint="png") |
Saves a Bitmap to an arbitrary resource. More... | |
void | Gosu::apply_color_key (Bitmap &bitmap, Color key) |
Set the alpha value of all pixels which are equal to the color key to zero. More... | |
Bitmap | Gosu::apply_border_flags (unsigned image_flags, const Bitmap &source, int src_x, int src_y, int src_width, int src_height) |