mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Offset coordinates with viewport origin for gradient filled triangular and rectangular shapes
svn path=/trunk/; revision=40418
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user