MCPcopy Create free account
hub / github.com/EasyRPG/Player / Create

Method Create

src/bitmap.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41#include <iostream>
42
43BitmapRef 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
49BitmapRef Bitmap::Create(Filesystem_Stream::InputStream stream, bool transparent, uint32_t flags) {
50 BitmapRef bmp = std::make_shared<Bitmap>(std::move(stream), transparent, flags);

Callers 12

DetectGameMethod · 0.45
AddPathMethod · 0.45
GetFilesystemEntryMethod · 0.45
ParseCommandLineMethod · 0.45
OpenViewToEasyRpgFileMethod · 0.45
FindGamesMethod · 0.45
UpdateScanAndProgressMethod · 0.45
retro_load_gameFunction · 0.45
filesystem_zip.cppFile · 0.45
make_treeFunction · 0.45

Calls 2

FillMethod · 0.80
pixelsMethod · 0.80

Tested by

no test coverage detected