mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 04:25:08 +00:00
37 lines
821 B
C
37 lines
821 B
C
/**
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is part of the mingw-w64 runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|
*/
|
|
|
|
#ifndef _INC_MAGNIFIER
|
|
#define _INC_MAGNIFIER
|
|
|
|
#include <winapifamily.h>
|
|
|
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
|
|
|
#include <wincodec.h>
|
|
|
|
#define MW_FILTERMODE_EXCLUDE 0
|
|
#define MW_FILTERMODE_INCLUDE 1
|
|
|
|
typedef struct tagMAGTRANSFORM {
|
|
float v[3][3];
|
|
} MAGTRANSFORM, *PMAGTRANSFORM;
|
|
|
|
typedef struct tagMAGIMAGEHEADER {
|
|
UINT width;
|
|
UINT height;
|
|
WICPixelFormatGUID format;
|
|
UINT stride;
|
|
UINT offset;
|
|
SIZE_T cbSize;
|
|
} MAGIMAGEHEADER, *PMAGIMAGEHEADER;
|
|
|
|
typedef struct tagMAGCOLOREFFECT {
|
|
float transform[5][5];
|
|
} MAGCOLOREFFECT, *PMAGCOLOREFFECT;
|
|
|
|
#endif
|
|
#endif
|