mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[WIN32K]
- Clip test vertically in ExtTextOut when ETO_CLIPPED is used svn path=/trunk/; revision=55558
This commit is contained in:
@@ -3495,8 +3495,7 @@ GreExtTextOutW(
|
||||
* brush.
|
||||
*/
|
||||
|
||||
if (lprc &&
|
||||
(fuOptions & ETO_CLIPPED) &&
|
||||
if (lprc && (fuOptions & ETO_CLIPPED) &&
|
||||
DestRect.right >= lprc->right + dc->ptlDCOrig.x)
|
||||
{
|
||||
// We do the check '>=' instead of '>' to possibly save an iteration
|
||||
@@ -3505,6 +3504,11 @@ GreExtTextOutW(
|
||||
DestRect.right = lprc->right + dc->ptlDCOrig.x;
|
||||
DoBreak = TRUE;
|
||||
}
|
||||
if (lprc && (fuOptions & ETO_CLIPPED) &&
|
||||
DestRect.bottom >= lprc->bottom + dc->ptlDCOrig.y)
|
||||
{
|
||||
DestRect.bottom = lprc->bottom + dc->ptlDCOrig.y;
|
||||
}
|
||||
MouseSafetyOnDrawStart(dc->ppdev, DestRect.left, DestRect.top, DestRect.right, DestRect.bottom);
|
||||
IntEngMaskBlt(
|
||||
SurfObj,
|
||||
|
||||
Reference in New Issue
Block a user