|
Last change
on this file since 1202 was 1166, checked in by rossy, 4 years ago |
|
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
|
File size:
821 bytes
|
| Rev | Line | |
|---|
| [1166] | 1 | /**
|
|---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
|---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
|---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | #ifndef _INC_MAGNIFIER
|
|---|
| 8 | #define _INC_MAGNIFIER
|
|---|
| 9 |
|
|---|
| 10 | #include <winapifamily.h>
|
|---|
| 11 |
|
|---|
| 12 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|---|
| 13 |
|
|---|
| 14 | #include <wincodec.h>
|
|---|
| 15 |
|
|---|
| 16 | #define MW_FILTERMODE_EXCLUDE 0
|
|---|
| 17 | #define MW_FILTERMODE_INCLUDE 1
|
|---|
| 18 |
|
|---|
| 19 | typedef struct tagMAGTRANSFORM {
|
|---|
| 20 | float v[3][3];
|
|---|
| 21 | } MAGTRANSFORM, *PMAGTRANSFORM;
|
|---|
| 22 |
|
|---|
| 23 | typedef struct tagMAGIMAGEHEADER {
|
|---|
| 24 | UINT width;
|
|---|
| 25 | UINT height;
|
|---|
| 26 | WICPixelFormatGUID format;
|
|---|
| 27 | UINT stride;
|
|---|
| 28 | UINT offset;
|
|---|
| 29 | SIZE_T cbSize;
|
|---|
| 30 | } MAGIMAGEHEADER, *PMAGIMAGEHEADER;
|
|---|
| 31 |
|
|---|
| 32 | typedef struct tagMAGCOLOREFFECT {
|
|---|
| 33 | float transform[5][5];
|
|---|
| 34 | } MAGCOLOREFFECT, *PMAGCOLOREFFECT;
|
|---|
| 35 |
|
|---|
| 36 | #endif
|
|---|
| 37 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.