MCPcopy Create free account
hub / github.com/ZDoom/Raze / CopyPixels

Method CopyPixels

source/common/fonts/font.cpp:393–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 }
392
393 int CopyPixels(FBitmap* dest, int conversion, int frame = 0) override
394 {
395 auto& pic = sheetBitmaps[baseSheet];
396 dest->CopyPixelDataRGB(0, 0, pic.GetPixels() + 4 * (X + pic.GetWidth() * Y), Width, Height, 4, pic.GetWidth() * 4, 0, CF_BGRA);
397 return 0;
398 }
399
400};
401void FFont::ReadSheetFont(std::vector<FileSys::FolderEntry> &folderdata, int width, int height, const DVector2 &Scale)

Callers 1

ReadSheetFontMethod · 0.45

Calls 3

CopyPixelDataRGBMethod · 0.80
GetPixelsMethod · 0.45
GetWidthMethod · 0.45

Tested by

no test coverage detected