- Timestamp:
- Jan 4, 2003, 2:45:10 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/text.cpp
r8760 r9609 1 /* $Id: text.cpp,v 1.3 0 2002-06-25 07:21:03sandervl Exp $ */1 /* $Id: text.cpp,v 1.31 2003-01-04 13:45:10 sandervl Exp $ */ 2 2 3 3 /* … … 183 183 LONG pmHAlign,pmVAlign; 184 184 185 #if 0 186 //SvL: This code is broken. TODO: Investigate 185 187 //CB: TA_RIGHT not supported by PM, only TA_CENTER and TA_LEFT 186 188 if ((align & 0x6) == TA_RIGHT) 187 189 { 190 BOOL rc; 188 191 PPOINTLOS2 pts = (PPOINTLOS2)malloc((cbCount+1)*sizeof(POINTLOS2)); 189 190 OSLibGpiQueryCharStringPosAt(pHps,&ptl,flOptions,cbCount,lpszString,lpDx,pts); 191 ptl.x -= pts[cbCount].x-pts[0].x; 192 193 rc = OSLibGpiQueryCharStringPosAt(pHps,&ptl,flOptions & CHSOS_VECTOR,cbCount,lpszString,lpDx,pts); 194 if(rc) { 195 for(int i=0;i<cbCount+1;i++) { 196 dprintf(("OSLibGpiQueryCharStringPosAt %d (%d,%d)", pts[i].x, pts[i].y)); 197 } 198 ptl.x -= pts[cbCount].x-pts[0].x; 199 } 192 200 free(pts); 193 201 } 202 #endif 194 203 195 204 if (lprc && ((align & 0x18) == TA_BASELINE))
Note:
See TracChangeset
for help on using the changeset viewer.