Partial stub of GdiAlphaBlend/AlphaBlend.

This commit is contained in:
Kevin Koltzau 2004-04-14 19:35:24 +00:00 committed by Alexandre Julliard
parent e06dd2cfe4
commit ac05d0dd29
5 changed files with 18 additions and 13 deletions

View File

@ -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.@]
*

View File

@ -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)

View File

@ -1,4 +1,4 @@
@ 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

View File

@ -26,18 +26,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.@)
*/

View File

@ -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;