mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
- Offset coordinates with viewport origin for gradient filled triangular and rectangular shapes
svn path=/trunk/; revision=40418
This commit is contained in:
parent
1c33c8d19b
commit
428a48a083
|
@ -907,6 +907,8 @@ IntGdiGradientFill(
|
|||
|
||||
DitherOrg.x = dc->ptlDCOrig.x;
|
||||
DitherOrg.y = dc->ptlDCOrig.y;
|
||||
IntLPtoDP(dc, (LPPOINT)&DitherOrg, 1);
|
||||
|
||||
Extent.left += DitherOrg.x;
|
||||
Extent.right += DitherOrg.x;
|
||||
Extent.top += DitherOrg.y;
|
||||
|
|
Loading…
Reference in a new issue