mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:02:59 +00:00
Implement NtGdiEngAlphaBlend
Implement EngAlphaBlend svn path=/trunk/; revision=28251
This commit is contained in:
parent
54c4a1be66
commit
bc272f3edd
4 changed files with 33 additions and 12 deletions
|
@ -162,7 +162,7 @@ EndFormPage@4
|
||||||
EndPage@4
|
EndPage@4
|
||||||
EndPath@4
|
EndPath@4
|
||||||
EngAcquireSemaphore@4
|
EngAcquireSemaphore@4
|
||||||
EngAlphaBlend@28
|
EngAlphaBlend@28=NtGdiEngAlphaBlend@28;
|
||||||
EngAssociateSurface@12
|
EngAssociateSurface@12
|
||||||
EngBitBlt@44
|
EngBitBlt@44
|
||||||
EngCheckAbort@4
|
EngCheckAbort@4
|
||||||
|
|
|
@ -2534,16 +2534,6 @@ EngAcquireSemaphore ( IN HSEMAPHORE hsem )
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* @unimplemented
|
|
||||||
*/
|
|
||||||
BOOL STDCALL
|
|
||||||
EngAlphaBlend(SURFOBJ *psoDest,SURFOBJ *psoSrc,CLIPOBJ *pco,XLATEOBJ *pxlo,RECTL *prclDest,RECTL *prclSrc,BLENDOBJ *pBlendObj)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
|
|
|
@ -892,6 +892,37 @@ IntEngStretchBlt(SURFOBJ *DestSurf,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BOOL
|
||||||
|
STDCALL
|
||||||
|
NtGdiEngAlphaBlend(IN SURFOBJ *Dest,
|
||||||
|
IN SURFOBJ *Source,
|
||||||
|
IN CLIPOBJ *ClipRegion,
|
||||||
|
IN XLATEOBJ *ColorTranslation,
|
||||||
|
IN PRECTL upDestRect,
|
||||||
|
IN PRECTL upSourceRect,
|
||||||
|
IN BLENDOBJ *BlendObj)
|
||||||
|
{
|
||||||
|
RECTL DestRect;
|
||||||
|
RECTL SourceRect;
|
||||||
|
|
||||||
|
_SEH_TRY
|
||||||
|
{
|
||||||
|
ProbeForRead(upDestRect, sizeof(RECTL), 1);
|
||||||
|
RtlCopyMemory(&DestRect,upDestRect, sizeof(RECTL));
|
||||||
|
ProbeForRead(upSourceRect, sizeof(RECTL), 1);
|
||||||
|
RtlCopyMemory(&Source, upSourceRect, sizeof(RECTL));
|
||||||
|
|
||||||
|
}
|
||||||
|
_SEH_HANDLE
|
||||||
|
{
|
||||||
|
_SEH_YIELD(return FALSE);
|
||||||
|
}
|
||||||
|
_SEH_END;
|
||||||
|
|
||||||
|
return EngAlphaBlend(Dest, Source, ClipRegion, ColorTranslation, &DestRect, &SourceRect, BlendObj);
|
||||||
|
}
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
EngAlphaBlend(IN SURFOBJ *Dest,
|
EngAlphaBlend(IN SURFOBJ *Dest,
|
||||||
|
|
|
@ -626,7 +626,7 @@ NtUserYieldTask 0
|
||||||
# NtGdiEngStrokeAndFillPath 10
|
# NtGdiEngStrokeAndFillPath 10
|
||||||
# NtGdiEngPaint 5
|
# NtGdiEngPaint 5
|
||||||
# NtGdiEngLineTo 9
|
# NtGdiEngLineTo 9
|
||||||
# NtGdiEngAlphaBlend 7
|
NtGdiEngAlphaBlend 7
|
||||||
# NtGdiEngGradientFill 10
|
# NtGdiEngGradientFill 10
|
||||||
# NtGdiEngTransparentBlt 8
|
# NtGdiEngTransparentBlt 8
|
||||||
# NtGdiEngTextOut 10
|
# NtGdiEngTextOut 10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue