git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003021201
[reactos.git]
/
subsys
/
win32k
/
objects
/
line.c
diff --git
a/subsys/win32k/objects/line.c
b/subsys/win32k/objects/line.c
index
4c092fb
..
c4b1ac1
100644
(file)
--- a/
subsys/win32k/objects/line.c
+++ b/
subsys/win32k/objects/line.c
@@
-121,10
+121,12
@@
W32kLineTo(HDC hDC,
ASSERT( pen );
// not yet implemented ASSERT( reg );
ASSERT( pen );
// not yet implemented ASSERT( reg );
+ /* Draw the line according to the DC origin */
ret = EngLineTo(SurfObj,
NULL, // ClipObj
PenToBrushObj(dc, pen),
ret = EngLineTo(SurfObj,
NULL, // ClipObj
PenToBrushObj(dc, pen),
- dc->w.CursPosX, dc->w.CursPosY, XEnd, YEnd,
+ dc->w.DCOrgX + dc->w.CursPosX, dc->w.DCOrgY + dc->w.CursPosY,
+ dc->w.DCOrgX + XEnd, dc->w.DCOrgY + YEnd,
reg, // Bounding rectangle
dc->w.ROPmode); // MIX
reg, // Bounding rectangle
dc->w.ROPmode); // MIX