added missing tools

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 13:42:11 +01:00
1 parent cae16313f8
commit 2978f6edf7
2 files changed
+52

No files matched your search

+3
View File
@@ -135,6 +135,9 @@ void unshareBitmap(Dpi::Bitmap &bitmap);
// Replaces every pixel equal to oldColor with newColor within the given
// rectangle (both already-resolved QColors, not raw Delphi ints).
void bitmapReplaceColor(Dpi::Bitmap &dst, int x, int y, int width, int height, QColor oldColor, QColor newColor);
// A soft radial glow (GlowRange=8 px) painted around a (width,height)
// rectangle at (x0,y0) within dst, tinted by cl.
void glowFrame(Dpi::Bitmap &dst, int x0, int y0, int width, int height, QColor cl);
// Draws a masked sprite (AND then OR, via an internal scratch buffer since
// Qt's QPainter has no raster-op compositing against the live canvas).