added dump

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 17:01:58 +01:00
1 parent 6773e620cf
commit a60c60186b
2 files changed
+8

No files matched your search

+5
View File
@@ -363,6 +363,11 @@ void frameImage(Dpi::Canvas &canvas, Dpi::Bitmap &src, int x, int y, int width,
canvas.copyRect(QRect(x, y, width, height), src.canvas(), QRect(xSrc, ySrc, width, height));
}
void dump(Dpi::Bitmap &dst, GraphicSet &graphicSet, int xDst, int yDst, int width, int height, int xGr, int yGr)
{
bitBltBitmap(dst, xDst, yDst, width, height, graphicSet.data, xGr, yGr);
}
void editFrame(Dpi::Canvas &canvas, const QRect &rect, const Texture &texture)
{
frame(canvas, rect.left() - 1, rect.top() - 1, rect.right(), rect.bottom(), Qt::black, Qt::black);