Piotr Caban piotr@codeweavers.com writes:
@@ -392,6 +394,15 @@ BOOL WINAPI GdiTransparentBlt( HDC hdcDest, int xDest, int yDest, int widthDest, hdcWork = CreateCompatibleDC(hdcDest); bmpWork = CreateCompatibleBitmap(hdcDest, widthDest, heightDest); oldWork = SelectObject(hdcWork, bmpWork);
- use_clip_rect = GetClipBox(hdcDest, &clip_rect);
- if(use_clip_rect) {
clip_rect.left -= xDest;
clip_rect.top -= yDest;
clip_rect.right -= xDest;
clip_rect.bottom -= yDest;
IntersectClipRect(hdcWork, clip_rect.left, clip_rect.top, clip_rect.right, clip_rect.bottom);
- }
You need to handle logical coordinates mapping.