Changeset 10349 for trunk/src/gdi32/oslibgpi.cpp
- Timestamp:
- Dec 1, 2003, 2:27:39 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/oslibgpi.cpp
r10174 r10349 1 /* $Id: oslibgpi.cpp,v 1.1 4 2003-07-16 15:47:37sandervl Exp $ */1 /* $Id: oslibgpi.cpp,v 1.15 2003-12-01 13:27:39 sandervl Exp $ */ 2 2 3 3 /* … … 257 257 ULONG cy; 258 258 259 //ignore underhang (just like GetTextExtentPoint does in Windows) 260 if (box[TXTBOX_BOTTOMLEFT].x < 0) { 261 dprintf(("WARNING: Ignoring underhang!!")); 262 box[TXTBOX_BOTTOMLEFT].x = 0; 263 } 264 259 265 if (box[TXTBOX_BOTTOMLEFT].y == box[TXTBOX_BOTTOMRIGHT].y) 260 266 { 261 267 point->y = labs (box[TXTBOX_BOTTOMLEFT].y-box[TXTBOX_TOPLEFT].y) + 1; 262 point->x = labs (box[TXTBOX_BOTTOMRIGHT].x-box[TXTBOX_BOTTOMLEFT].x) + 1; 268 point->x = labs (box[TXTBOX_CONCAT].x - box[TXTBOX_BOTTOMLEFT].x); 269 263 270 if (box[TXTBOX_BOTTOMLEFT].x != box[TXTBOX_TOPLEFT].x) 264 271 {
Note:
See TracChangeset
for help on using the changeset viewer.