The MinGW.OSDN Windows System Libraries. Formerly designated as "MinGW.org Windows System Libraries", this encapsulates the "mingwrt" C runtime library extensions, and the "w32api" 32-bit MS-Windows API libraries.
Please note that this project no longer owns the "MinGW.org" domain name; any software which may be distributed from that domain is NOT supported by this project.
Revisão | f511afc8646a5a08e70ee3ef69ebba5238cc7b28 (tree) |
---|---|
Hora | 2021-02-10 07:28:11 |
Autor | Alexei Podtelezhnikov <apodtele@gmai...> |
Commiter | Alexei Podtelezhnikov |
Add missing <wingdi.h> definitions.
@@ -1,3 +1,13 @@ | ||
1 | +2021-02-09 Alexei Podtelezhnikov <apodtele@gmail.com> | |
2 | + | |
3 | + Add missing <wingdi.h> definitions. | |
4 | + | |
5 | + * include/wingdi.h (BI_ALPHABITFIELDS, BI_CMYK, BI_CMYKRLE4) | |
6 | + (BI_CMYKRLE8, DIB_PAL_INDICES, OUT_SCREEN_OUTLINE_PRECIS) | |
7 | + (BS_MONOPATTERN, LAYOUT_LTR, LCS_sRGB, LCS_WINDOWS_COLOR_SPACE) | |
8 | + (PROFILE_EMBEDDED, LCS_PROFILE_EMBEDDED, PROFILE_LINKED) | |
9 | + (LCS_PROFILE_LINKED, LCS_GM_ABS_COLORIMETRIC): Define. | |
10 | + | |
1 | 11 | 2021-01-25 Keith Marshall <keith@users.osdn.me> |
2 | 12 | |
3 | 13 | Represent <winbase.h> file creation bit-flags in hexadecimal. |
@@ -61,6 +61,10 @@ typedef BYTE BCHAR; | ||
61 | 61 | #define BI_BITFIELDS 3 |
62 | 62 | #define BI_JPEG 4 |
63 | 63 | #define BI_PNG 5 |
64 | +#define BI_ALPHABITFIELDS 6 | |
65 | +#define BI_CMYK 11 | |
66 | +#define BI_CMYKRLE8 12 | |
67 | +#define BI_CMYKRLE4 13 | |
64 | 68 | #define LF_FACESIZE 32 |
65 | 69 | #define LF_FULLFACESIZE 64 |
66 | 70 | #define CA_NEGATIVE 1 |
@@ -347,8 +351,9 @@ typedef BYTE BCHAR; | ||
347 | 351 | #define COMPLEXREGION 3 |
348 | 352 | #define ERROR 0 |
349 | 353 | #define CBM_INIT 4 |
350 | -#define DIB_PAL_COLORS 1 | |
351 | 354 | #define DIB_RGB_COLORS 0 |
355 | +#define DIB_PAL_COLORS 1 | |
356 | +#define DIB_PAL_INDICES 2 | |
352 | 357 | #define FW_DONTCARE 0 |
353 | 358 | #define FW_THIN 100 |
354 | 359 | #define FW_EXTRALIGHT 200 |
@@ -394,6 +399,7 @@ typedef BYTE BCHAR; | ||
394 | 399 | #define OUT_TT_ONLY_PRECIS 7 |
395 | 400 | #define OUT_OUTLINE_PRECIS 8 |
396 | 401 | /* http://www.pinvoke.net/default.aspx/Structures/LOGFONT.html */ |
402 | +#define OUT_SCREEN_OUTLINE_PRECIS 9 | |
397 | 403 | #define OUT_PS_ONLY_PRECIS 10 |
398 | 404 | #define CLIP_DEFAULT_PRECIS 0 |
399 | 405 | #define CLIP_CHARACTER_PRECIS 1 |
@@ -985,12 +991,20 @@ typedef BYTE BCHAR; | ||
985 | 991 | #define BS_DIBPATTERNPT 6 |
986 | 992 | #define BS_PATTERN8X8 7 |
987 | 993 | #define BS_DIBPATTERN8X8 8 |
994 | +#define BS_MONOPATTERN 9 | |
988 | 995 | #define LCS_CALIBRATED_RGB 0 |
989 | 996 | #define LCS_DEVICE_RGB 1 |
990 | 997 | #define LCS_DEVICE_CMYK 2 |
998 | +#define LCS_sRGB 0x73524742 | |
999 | +#define LCS_WINDOWS_COLOR_SPACE 0x57696E20 | |
1000 | +#define LCS_PROFILE_LINKED 0x4C494E4B | |
1001 | +#define LCS_PROFILE_EMBEDDED 0x4D424544 | |
1002 | +#define PROFILE_LINKED LCS_PROFILE_LINKED | |
1003 | +#define PROFILE_EMBEDDED LCS_PROFILE_EMBEDDED | |
991 | 1004 | #define LCS_GM_BUSINESS 1 |
992 | 1005 | #define LCS_GM_GRAPHICS 2 |
993 | 1006 | #define LCS_GM_IMAGES 4 |
1007 | +#define LCS_GM_ABS_COLORIMETRIC 8 | |
994 | 1008 | #define RASTER_FONTTYPE 1 |
995 | 1009 | #define DEVICE_FONTTYPE 2 |
996 | 1010 | #define TRUETYPE_FONTTYPE 4 |
@@ -1226,6 +1240,7 @@ typedef BYTE BCHAR; | ||
1226 | 1240 | #define AC_SRC_NO_ALPHA 0x02 |
1227 | 1241 | #define AC_DST_NO_PREMULT_ALPHA 0x10 |
1228 | 1242 | #define AC_DST_NO_ALPHA 0x20 |
1243 | +#define LAYOUT_LTR 0 | |
1229 | 1244 | #define LAYOUT_RTL 1 |
1230 | 1245 | #define LAYOUT_BITMAPORIENTATIONPRESERVED 8 |
1231 | 1246 |