Changeset 10316 for trunk/include
- Timestamp:
- Nov 12, 2003, 3:13:26 PM (22 years ago)
- Location:
- trunk/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dcdata.h
r4899 r10316 1 /* $Id: dcdata.h,v 1.3 2001-01-09 18:14:44 sandervl Exp $ */2 1 /* 3 2 * GDI32: public dc data definitions … … 12 11 #ifndef __DCDATA_H__ 13 12 #define __DCDATA_H__ 13 14 //Flags for Reserved DWORD in DCData structure 15 #define DC_FLAG_SEND_POSTSCRIPT_SETUP_STRING 1 16 #define DC_FLAG_POLYGON_PRINTER_HACK 2 14 17 15 18 enum PS_Type { MICRO_CACHED, MICRO, NORMAL }; … … 148 151 POINTL windowOrg; 149 152 SIZEL windowExt; 150 HRGN hrgn Vis;153 HRGN hrgnWin32Clip; //current Win32 clip region handle 151 154 152 155 POINTL ptlOrigin; … … 184 187 int yInvert; 185 188 int yInvert4Enable; 189 190 ULONG Reserved; 191 192 HRGN hrgnWinVis; //current Win32 visible region handle 186 193 struct _DCData *nextHPS_HDC; 187 194 } tDCData, *pDCData; -
trunk/include/win32api.h
r10303 r10316 240 240 241 241 HANDLE WINAPI GetCurrentObject(HDC,UINT); 242 BOOL WIN32API ValidateRgn( HWND hwnd, HRGN hrgn); 243 BOOL WIN32API ValidateRect( HWND hwnd, const RECT * lprc); 244 int WIN32API GetRgnBox( HRGN hrgn, PRECT pRect); 242 245 243 246 #endif -
trunk/include/win32type.h
r10106 r10316 1319 1319 typedef VOID (CALLBACK *TIMERPROC)(HWND hwnd, UINT msg, UINT id, DWORD dwTime); 1320 1320 1321 #endif 1321 typedef struct 1322 { 1323 unsigned short fract; 1324 signed short value; 1325 } FIXED_W; 1326 1327 1328 typedef struct 1329 { 1330 FIXED_W eM11; 1331 FIXED_W eM12; 1332 FIXED_W eM21; 1333 FIXED_W eM22; 1334 } MAT2, *LPMAT2; 1335 1336 typedef struct 1337 { 1338 UINT gmBlackBoxX; 1339 UINT gmBlackBoxY; 1340 POINT gmptGlyphOrigin; 1341 INT16 gmCellIncX; 1342 INT16 gmCellIncY; 1343 } GLYPHMETRICS, *LPGLYPHMETRICS; 1344 1345 typedef struct 1346 { 1347 INT lfHeight; 1348 INT lfWidth; 1349 INT lfEscapement; 1350 INT lfOrientation; 1351 INT lfWeight; 1352 BYTE lfItalic; 1353 BYTE lfUnderline; 1354 BYTE lfStrikeOut; 1355 BYTE lfCharSet; 1356 BYTE lfOutPrecision; 1357 BYTE lfClipPrecision; 1358 BYTE lfQuality; 1359 BYTE lfPitchAndFamily; 1360 CHAR lfFaceName[32]; 1361 } LOGFONTA, *PLOGFONTA, *LPLOGFONTA; 1362 1363 typedef struct 1364 { 1365 UINT lopnStyle; 1366 POINT lopnWidth; 1367 ULONG lopnColor; 1368 } LOGPEN_W, *LPLOGPEN_W; 1369 1370 typedef struct tagEXTLOGPEN 1371 { 1372 DWORD elpPenStyle; 1373 DWORD elpWidth; 1374 DWORD elpBrushStyle; 1375 DWORD elpColor; 1376 DWORD elpNumEntries; 1377 DWORD elpStyleEntry[1]; 1378 } EXTLOGPEN_W, *PEXTLOGPEN_W, *NPEXTLOGPEN_W, *LPEXTLOGPEN_W; 1379 1380 typedef struct 1381 { 1382 UINT lbStyle; 1383 ULONG lbColor; 1384 INT lbHatch; 1385 } LOGBRUSH_W, *LPLOGBRUSH_W; 1386 1387 typedef struct 1388 { 1389 HDC hdc; 1390 BOOL fErase; 1391 RECT rcPaint; 1392 BOOL fRestore; 1393 BOOL IncUpdate; 1394 BYTE rgbReserved[32]; 1395 } PAINTSTRUCT_W, *PPAINTSTRUCT_W, *LPPAINTSTRUCT_W; 1396 1397 1398 #endif -
trunk/include/winconst.h
r10294 r10316 2041 2041 #define OBJ_ENHMETAFILE_W 13 2042 2042 2043 #define PS_SOLID_W 0x00000000 2044 #define PS_DASH_W 0x00000001 2045 #define PS_DOT_W 0x00000002 2046 #define PS_DASHDOT_W 0x00000003 2047 #define PS_DASHDOTDOT_W 0x00000004 2048 #define PS_NULL_W 0x00000005 2049 #define PS_INSIDEFRAME_W 0x00000006 2050 #define PS_USERSTYLE_W 0x00000007 2051 #define PS_ALTERNATE_W 0x00000008 2052 #define PS_STYLE_MASK_W 0x0000000f 2053 2054 /* DC Graphics Mode */ 2055 #define GM_COMPATIBLE_W 1 2056 #define GM_ADVANCED_W 2 2057 2058 #define DCX_WINDOW_W 0x00000001L 2059 #define DCX_CACHE_W 0x00000002L 2060 #define DCX_NORESETATTRS_W 0x00000004L 2061 #define DCX_CLIPCHILDREN_W 0x00000008L 2062 #define DCX_CLIPSIBLINGS_W 0x00000010L 2063 #define DCX_PARENTCLIP_W 0x00000020L 2064 #define DCX_EXCLUDERGN_W 0x00000040L 2065 #define DCX_INTERSECTRGN_W 0x00000080L 2066 #define DCX_EXCLUDEUPDATE_W 0x00000100L 2067 #define DCX_INTERSECTUPDATE_W 0x00000200L 2068 #define DCX_LOCKWINDOWUPDATE_W 0x00000400L 2069 #define DCX_USESTYLE_W 0x00010000L 2070 #define DCX_VALIDATE_W 0x00200000L 2071 2072 #define RDW_INVALIDATE_W 0x0001 2073 #define RDW_INTERNALPAINT_W 0x0002 2074 #define RDW_ERASE_W 0x0004 2075 #define RDW_VALIDATE_W 0x0008 2076 #define RDW_NOINTERNALPAINT_W 0x0010 2077 #define RDW_NOERASE_W 0x0020 2078 #define RDW_NOCHILDREN_W 0x0040 2079 #define RDW_ALLCHILDREN_W 0x0080 2080 #define RDW_UPDATENOW_W 0x0100 2081 #define RDW_ERASENOW_W 0x0200 2082 #define RDW_FRAME_W 0x0400 2083 #define RDW_NOFRAME_W 0x0800 2084 /* Xform FLAGS */ 2085 #define MWT_IDENTITY_W 1 2086 #define MWT_LEFTMULTIPLY_W 2 2087 #define MWT_RIGHTMULTIPLY_W 3 2088 2089 /* Mapping Modes */ 2090 #define MM_TEXT_W 1 2091 #define MM_LOMETRIC_W 2 2092 #define MM_HIMETRIC_W 3 2093 #define MM_LOENGLISH_W 4 2094 #define MM_HIENGLISH_W 5 2095 #define MM_TWIPS_W 6 2096 #define MM_ISOTROPIC_W 7 2097 #define MM_ANISOTROPIC_W 8 2098 2099 #define RGN_OR_W 2 2100 2101 /* Window scrolling */ 2102 #define SW_SCROLLCHILDREN_W 0x0001 2103 #define SW_INVALIDATE_W 0x0002 2104 #define SW_ERASE_W 0x0004 2105 #define SW_SMOOTHSCROLL_W 0x0010 2106 2043 2107 #endif //__WINCONST_H__ -
trunk/include/wingdi32.h
r6593 r10316 11 11 12 12 BOOL WIN32API setWinDeviceRegionFromPMDeviceRegion(HRGN winHrgn, HRGN pmHrgn, pDCData pHpsPmHrgn, HWND hwndPmHrgn); 13 14 INT WIN32API GdiCombineVisRgn(pDCData pHps, HRGN hrgn, INT operation); 15 INT WIN32API GdiSetVisRgn(pDCData pHps, HRGN hrgn); 16 INT WIN32API GdiCombineVisRgnClipRgn(pDCData pHps, HRGN hrgn, INT operation); 17 13 18 VOID WIN32API UnselectGDIObjects(HDC hdc); 14 19 BOOL OSLibGpiSetCp(HDC hdc, ULONG codepage);
Note:
See TracChangeset
for help on using the changeset viewer.