Changeset 4553 for trunk/include/dcdata.h
- Timestamp:
- Nov 4, 2000, 5:30:01 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dcdata.h
r2653 r4553 1 /* $Id: dcdata.h,v 1. 1 2000-02-05 11:03:45sandervl Exp $ */1 /* $Id: dcdata.h,v 1.2 2000-11-04 16:30:01 sandervl Exp $ */ 2 2 /* 3 3 * GDI32: public dc data definitions … … 26 26 } XFORM_W, *PXFORM_W, *LPXFORM_W; 27 27 28 #if 0 29 #ifndef GPI_INCLUDED 30 typedef struct _SIZEF 31 { 32 FIXED cx; 33 FIXED cy; 34 } SIZEF; 35 typedef SIZEF *PSIZEF; 36 37 typedef struct _MATRIXLF 38 { 39 FIXED fxM11; 40 FIXED fxM12; 41 LONG lM13; 42 FIXED fxM21; 43 FIXED fxM22; 44 LONG lM23; 45 LONG lM31; 46 LONG lM32; 47 LONG lM33; 48 } MATRIXLF; 49 typedef MATRIXLF *PMATRIXLF; 50 51 typedef ULONG HPS; 52 53 typedef struct _CHARBUNDLE 54 { 55 LONG lColor; 56 LONG lBackColor; 57 USHORT usMixMode; 58 USHORT usBackMixMode; 59 USHORT usSet; 60 USHORT usPrecision; 61 SIZEF sizfxCell; 62 POINTL ptlAngle; 63 POINTL ptlShear; 64 USHORT usDirection; 65 USHORT usTextAlign; 66 FIXED fxExtra; 67 FIXED fxBreakExtra; 68 } CHARBUNDLE; 69 typedef CHARBUNDLE *PCHARBUNDLE; 70 71 #endif 72 73 #pragma pack(4) 28 74 typedef struct _DCData 29 75 { … … 32 78 HPS hps; 33 79 34 UINT lastBrushHandle; 80 UINT lastBrushKey; 81 PVOID lastBrushObject; 82 UINT lastPenKey; 83 struct _penobject *lastPenObject; 84 UINT lastFontKey; 85 PVOID lastFontObject; 86 UINT lastBitmapKey; 87 PVOID lastBitmapObject; 88 UINT lastPaletteKey; 89 PVOID lastPaletteObject; 90 91 UINT nullBitmapHandle; 92 93 COLORREF BkColor; 94 COLORREF TextColor; 95 ULONG BkColor_PM; 96 ULONG TextColor_PM; 97 98 int BkMode; 99 ULONG BkMode_PM; 100 101 int ROP2Mode; 102 int ROP2Mode_PM; 103 104 unsigned isMemoryPS:1; 105 unsigned isMetaPS:1; 106 unsigned isPrinter:1; 107 unsigned isFrameWindow:1; 108 unsigned isOD_QUEUED:1; 109 unsigned isOD_INFO:1; 110 unsigned isClient:1; 111 unsigned isClientArea:1; 112 unsigned isLeftLeft:1; 113 unsigned isTopTop:1; 114 unsigned isWideLine:1; 115 unsigned alignUpdateCP:1; 116 unsigned isCacheable:1; 117 unsigned penIsExtPen:1; 118 unsigned isValid:1; 119 unsigned inPath:1; 120 unsigned isStartDoc:1; 121 unsigned resetStockFonts:1; 122 #ifdef CUSTOM_CURPOS 123 unsigned curPosSet:1; 124 #endif 125 unsigned bAttrSet:1; 126 unsigned bFirstSet:1; 127 unsigned unused:11; 128 129 ULONG MapMode; 130 HBITMAP bitmapHandle; 131 ULONG bitmapHeight; 132 ULONG bitmapWidth; 133 HMETAFILE hMeta; 134 PVOID pMetaFileObject; 135 int polyFillMode; 136 int arcDirection; 137 int stretchBltMode; 138 int graphicsMode; 139 HRGN hrgnHDC; 140 141 PS_Type psType; 142 143 HDC_Type hdcType; 144 USHORT usUnused; 145 POINTL viewportOrg; 146 double viewportXExt; 147 double viewportYExt; 148 POINTL windowOrg; 149 SIZEL windowExt; 150 HRGN hrgnVis; 151 152 POINTL ptlOrigin; 153 154 ULONG printPageHeight; 155 PVOID printerObject; 156 157 LONG taMode; 158 XFORM_W xform; 159 INT worldYDeltaFor1Pixel; 160 INT worldXDeltaFor1Pixel; 161 ULONG colorMode; 162 PULONG pLogColorTable; 163 164 ULONG lcidBitfield; 165 HWND hwndRealize; 166 ULONG cpeMap; 167 LONG lTechnology; 168 LONG lWndXExtSave, lWndYExtSave, 169 lVwpXExtSave, lVwpYExtSave; 170 int height; 171 POINTL brushOrgPoint; 172 PVOID pEnhMetaPalette; 173 ABORTPROC lpAbortProc; 174 ULONG HPStoHDCInversionHeight; 175 int saveLevel; 176 CHARBUNDLE CBundle; 177 CHARBUNDLE CSetBundle; 178 ULONG ulCharMask; 179 ULONG ulDefCharMask; 180 #ifdef CUSTOM_CURPOS 181 POINTL curPos; 182 #endif 183 MATRIXLF defView; 184 int yInvert; 185 int yInvert4Enable; 186 struct _DCData *nextHPS_HDC; 187 } tDCData, *pDCData; 188 #pragma pack() 189 #else 190 191 #ifndef GPI_INCLUDED 192 typedef struct _SIZEF 193 { 194 FIXED cx; 195 FIXED cy; 196 } SIZEF; 197 typedef SIZEF *PSIZEF; 198 199 typedef struct _MATRIXLF 200 { 201 FIXED fxM11; 202 FIXED fxM12; 203 LONG lM13; 204 FIXED fxM21; 205 FIXED fxM22; 206 LONG lM23; 207 LONG lM31; 208 LONG lM32; 209 LONG lM33; 210 } MATRIXLF; 211 typedef MATRIXLF *PMATRIXLF; 212 213 typedef ULONG HPS; 214 #endif 215 216 typedef struct _DCData 217 { 218 HDC hdc; 219 HWND hwnd; 220 HPS hps; 221 222 UINT lastBrushKey; 35 223 PVOID lastBrushObject; 36 224 UINT lastPenHandle; … … 132 320 struct _DCData *nextDCData; 133 321 } tDCData, *pDCData; 322 #endif 134 323 135 324 #endif //__DCDATA_H__
Note:
See TracChangeset
for help on using the changeset viewer.