- Timestamp:
- Sep 9, 2001, 2:24:13 PM (24 years ago)
- Location:
- trunk/src/gdi32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/icm.cpp
r5813 r6684 1 /* $Id: icm.cpp,v 1. 1 2001-05-28 09:17:54 phallerExp $ */1 /* $Id: icm.cpp,v 1.2 2001-09-09 12:24:13 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 //****************************************************************************** 33 33 //****************************************************************************** 34 UINT WIN32API DeleteColorSpace( /*KSO Thu 21.05.1998*/ 35 HCOLORSPACE hColorSpace 36 ) 34 BOOL WIN32API DeleteColorSpace(HCOLORSPACE hColorSpace) 37 35 { 38 36 dprintf(("GDI32: DeleteColorSpace - stub\n")); … … 41 39 //****************************************************************************** 42 40 //****************************************************************************** 43 BOOL WIN32API SetColorSpace( /*KSO Thu 21.05.1998*/ 44 HDC hdc, 45 HCOLORSPACE hColorSpace 46 ) 41 BOOL WIN32API SetColorSpace(HDC hdc, HCOLORSPACE hColorSpace) 47 42 { 48 43 dprintf(("GDI32: SetColorSpace - stub\n")); … … 51 46 //****************************************************************************** 52 47 //****************************************************************************** 53 HCOLORSPACE WIN32API CreateColorSpaceA( /*KSO Thu 21.05.1998*/ 54 LPLOGCOLORSPACEA lpLogColorSpace 55 ) 48 HCOLORSPACE WIN32API CreateColorSpaceA(LPLOGCOLORSPACEA lpLogColorSpace) 56 49 { 57 50 dprintf(("GDI32: CreateColorSpaceA - stub\n")); … … 60 53 //****************************************************************************** 61 54 //****************************************************************************** 62 HCOLORSPACE WIN32API CreateColorSpaceW( /*KSO Thu 21.05.1998*/ 63 LPLOGCOLORSPACEW lpwLogColorSpace 64 ) 55 HCOLORSPACE WIN32API CreateColorSpaceW(LPLOGCOLORSPACEW lpwLogColorSpace) 65 56 { 66 57 dprintf(("GDI32: CreateColorSpaceW - stub\n")); … … 69 60 //****************************************************************************** 70 61 //****************************************************************************** 71 HANDLE WIN32API GetColorSpace( /*KSO Thu 21.05.1998*/ 72 HDC hdc 73 ) 62 HANDLE WIN32API GetColorSpace(HDC hdc) 74 63 { 75 64 dprintf(("GDI32: GetColorSpace - stub\n")); … … 78 67 //****************************************************************************** 79 68 //****************************************************************************** 80 int WIN32API SetICMMode( /*KSO Thu 21.05.1998*/ 81 HDC hdc, 82 int mode 83 ) 69 int WIN32API SetICMMode(HDC hdc, int mode) 84 70 { 85 71 dprintf(("GDI32: SetICMMode - stub\n")); -
trunk/src/gdi32/line.cpp
r5044 r6684 1 /* $Id: line.cpp,v 1. 9 2001-02-01 18:01:52sandervl Exp $ */1 /* $Id: line.cpp,v 1.10 2001-09-09 12:24:13 sandervl Exp $ */ 2 2 /* 3 3 * Line API's … … 81 81 POINTLOS2 newPoint = {X,Y}; 82 82 83 if (lpPoint) 84 { 85 POINTLOS2 lastPoint; 86 87 OSLibGpiQueryCurrentPosition(pHps,&lastPoint); 88 lpPoint->x = lastPoint.x; 89 lpPoint->y = lastPoint.y; 90 } 91 83 92 #ifndef INVERT 84 93 if(pHps->yInvert > 0) { … … 89 98 } 90 99 #endif 91 92 if (lpPoint)93 {94 POINTLOS2 lastPoint;95 96 OSLibGpiQueryCurrentPosition(pHps,&lastPoint);97 lpPoint->x = lastPoint.x;98 lpPoint->y = lastPoint.y;99 }100 100 101 101 if (OSLibGpiMove(pHps,&newPoint)) -
trunk/src/gdi32/text.cpp
r6384 r6684 1 /* $Id: text.cpp,v 1.2 6 2001-07-21 15:57:17sandervl Exp $ */1 /* $Id: text.cpp,v 1.27 2001-09-09 12:24:13 sandervl Exp $ */ 2 2 3 3 /* … … 27 27 #define ELLIPSISLEN 3 28 28 29 typedef struct _POLYTEXTA30 {31 int x;32 int y;33 UINT n;34 LPCSTR lpstr;35 UINT uiFlags;36 RECT rcl;37 int *pdx;38 } POLYTEXTA;39 40 typedef struct _POLYTEXTW41 {42 int x;43 int y;44 UINT n;45 LPCWSTR lpstr;46 UINT uiFlags;47 RECT rcl;48 int *pdx;49 } POLYTEXTW;50 51 29 //****************************************************************************** 52 30 //****************************************************************************** … … 172 150 flCmd = DTOS_INVERT | DTOS_WORLDRECT | DTOS_TEXTATTRS | DTOS_AMPERSAND | DTOS_VERTICALEXTENT; 173 151 #else 174 flCmd = DTOS_ WORLDRECT | DTOS_TEXTATTRS | DTOS_AMPERSAND | DTOS_VERTICALEXTENT;152 flCmd = DTOS_INVERT | DTOS_WORLDRECT | DTOS_TEXTATTRS | DTOS_AMPERSAND | DTOS_VERTICALEXTENT; 175 153 #endif 176 154
Note:
See TracChangeset
for help on using the changeset viewer.