Commit ac05d0dd authored by Kevin Koltzau's avatar Kevin Koltzau Committed by Alexandre Julliard

Partial stub of GdiAlphaBlend/AlphaBlend.

parent e06dd2cf
......@@ -395,6 +395,19 @@ error:
return ret;
}
/******************************************************************************
* GdiAlphaBlend [GDI32.@]
*/
BOOL WINAPI GdiAlphaBlend(HDC hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest,
HDC hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc,
BLENDFUNCTION blendFunction)
{
FIXME("partial stub - using StretchBlt\n");
return StretchBlt(hdcDest, nXOriginDest, nYOriginDest, nWidthDest, nHeightDest,
hdcSrc, nXOriginSrc, nYOriginSrc, nWidthSrc, nHeightSrc,
SRCCOPY);
}
/*********************************************************************
* PlgBlt [GDI32.@]
*
......
......@@ -118,6 +118,7 @@
@ stdcall FloodFill(long long long long)
@ stdcall FrameRgn(long long long long long)
@ stub FreeImageColorMatcher
@ stdcall GdiAlphaBlend(long long long long long long long long long long long)
@ stub GdiAssociateObject
@ stub GdiCleanCacheDC
@ stdcall GdiComment(long long ptr)
......
@ stdcall AlphaBlend(long long long long long long long long long long long)
@ stdcall AlphaBlend(long long long long long long long long long long long) gdi32.GdiAlphaBlend
@ stub DllInitialize
@ stdcall GradientFill(long ptr long ptr long long) gdi32.GdiGradientFill
@ stdcall TransparentBlt(long long long long long long long long long long long) gdi32.GdiTransparentBlt
......
......@@ -27,18 +27,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(msimg32);
/******************************************************************************
* AlphaBlend (MSIMG32.@)
*/
BOOL WINAPI AlphaBlend( HDC hdcDest, int xDest, int yDest, int widthDest, int heightDst,
HDC hdcSrc, int xSrc, int ySrc, int widthSrc, int heightSrc,
BLENDFUNCTION func )
{
FIXME("stub: AlphaBlend from %p to %p\n", hdcSrc, hdcDest );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/******************************************************************************
* vSetDdrawflag (MSIMG32.@)
*/
void WINAPI vSetDdrawflag(void)
......
......@@ -3133,6 +3133,9 @@ typedef struct _GRADIENT_RECT
ULONG LowerRight;
} GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT;
#define AC_SRC_OVER 0x00
#define AC_SRC_ALPHA 0x01
typedef struct _BLENDFUNCTION
{
BYTE BlendOp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment