| 41 | #include <iostream> |
| 42 | |
| 43 | BitmapRef Bitmap::Create(int width, int height, const Color& color) { |
| 44 | BitmapRef surface = Bitmap::Create(width, height, true); |
| 45 | surface->Fill(color); |
| 46 | return surface; |
| 47 | } |
| 48 | |
| 49 | BitmapRef Bitmap::Create(Filesystem_Stream::InputStream stream, bool transparent, uint32_t flags) { |
| 50 | BitmapRef bmp = std::make_shared<Bitmap>(std::move(stream), transparent, flags); |
no test coverage detected