Changeset 10597 for trunk/src/gdi32/line.cpp
- Timestamp:
- May 5, 2004, 11:19:11 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/line.cpp
r10594 r10597 1 /* $Id: line.cpp,v 1.1 7 2004-04-30 13:27:18sandervl Exp $ */1 /* $Id: line.cpp,v 1.18 2004-05-05 09:19:10 sandervl Exp $ */ 2 2 /* 3 3 * Line API's … … 168 168 toWin32LineEnd(pHps, &oldPoint,nXEnd,nYEnd,&newPoint); 169 169 170 if ( (oldPoint.x == newPoint.x) && (oldPoint.y == newPoint.y))170 if (!pHps->inPath && (oldPoint.x == newPoint.x) && (oldPoint.y == newPoint.y)) 171 171 { 172 172 rc = drawSingleLinePoint(hdc,pHps,&newPoint); 173 } else 174 { 175 if (getIsWideLine(pHps)) 173 } 174 else 175 { 176 if (!pHps->inPath && getIsWideLine(pHps)) 176 177 { 177 178 rc = O32_LineTo(hdc,newPoint.x,newPoint.y); //CB: wide line not supported 178 } else 179 } 180 else 179 181 { 180 182 if (OSLibGpiLine(pHps,&newPoint) == FALSE)
Note:
See TracChangeset
for help on using the changeset viewer.