Partial stub of GdiAlphaBlend/AlphaBlend.
This commit is contained in:
parent
e06dd2cfe4
commit
ac05d0dd29
|
@ -395,6 +395,19 @@ error:
|
||||||
return ret;
|
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.@]
|
* PlgBlt [GDI32.@]
|
||||||
*
|
*
|
||||||
|
|
|
@ -118,6 +118,7 @@
|
||||||
@ stdcall FloodFill(long long long long)
|
@ stdcall FloodFill(long long long long)
|
||||||
@ stdcall FrameRgn(long long long long long)
|
@ stdcall FrameRgn(long long long long long)
|
||||||
@ stub FreeImageColorMatcher
|
@ stub FreeImageColorMatcher
|
||||||
|
@ stdcall GdiAlphaBlend(long long long long long long long long long long long)
|
||||||
@ stub GdiAssociateObject
|
@ stub GdiAssociateObject
|
||||||
@ stub GdiCleanCacheDC
|
@ stub GdiCleanCacheDC
|
||||||
@ stdcall GdiComment(long long ptr)
|
@ stdcall GdiComment(long long ptr)
|
||||||
|
|
|
@ -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
|
@ stub DllInitialize
|
||||||
@ stdcall GradientFill(long ptr long ptr long long) gdi32.GdiGradientFill
|
@ 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
|
@ stdcall TransparentBlt(long long long long long long long long long long long) gdi32.GdiTransparentBlt
|
||||||
|
|
|
@ -26,18 +26,6 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(msimg32);
|
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.@)
|
* vSetDdrawflag (MSIMG32.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3133,6 +3133,9 @@ typedef struct _GRADIENT_RECT
|
||||||
ULONG LowerRight;
|
ULONG LowerRight;
|
||||||
} GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT;
|
} GRADIENT_RECT, *PGRADIENT_RECT, *LPGRADIENT_RECT;
|
||||||
|
|
||||||
|
#define AC_SRC_OVER 0x00
|
||||||
|
#define AC_SRC_ALPHA 0x01
|
||||||
|
|
||||||
typedef struct _BLENDFUNCTION
|
typedef struct _BLENDFUNCTION
|
||||||
{
|
{
|
||||||
BYTE BlendOp;
|
BYTE BlendOp;
|
||||||
|
|
Loading…
Reference in New Issue