| 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 | }; |
| 401 | void FFont::ReadSheetFont(std::vector<FileSys::FolderEntry> &folderdata, int width, int height, const DVector2 &Scale) |
no test coverage detected