mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-24 00:54:18 +08:00
TUNE
This commit is contained in:
+3
-1
@@ -1032,7 +1032,9 @@ BOOL GUIAPI FillBoxWithBitmapPart (HDC hdc, int x, int y, int w, int h,
|
||||
if (xo != 0 || yo != 0) {
|
||||
part.bmBits += part.bmPitch * yo +
|
||||
xo * GAL_BytesPerPixel (pdc->surface);
|
||||
part.bmAlphaMask += yo * part.bmAlphaPitch + xo;
|
||||
if (part.bmType & BMP_TYPE_ALPHA_MASK) {
|
||||
part.bmAlphaMask += yo * part.bmAlphaPitch + xo;
|
||||
}
|
||||
}
|
||||
_dc_fillbox_bmp_clip (pdc, &rect, &part);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user