mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 21:01:54 +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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue