diff --git a/PlatformSupport/MSVCStubs.hpp b/PlatformSupport/MSVCStubs.hpp index c5ba382..450dacb 100644 --- a/PlatformSupport/MSVCStubs.hpp +++ b/PlatformSupport/MSVCStubs.hpp @@ -38,31 +38,3 @@ inline ENUMTYPE &operator ^= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((i #define TRUE 1 #define FALSE 0 - - enum WICBitmapTransformOptions - { - /// - /// Don't Rotate - /// - WICBitmapTransformRotate0 = 0, - /// - /// Rotate 90 degree clockwise - /// - WICBitmapTransformRotate90 = 0x1, - /// - /// Rotate 180 degree - /// - WICBitmapTransformRotate180 = 0x2, - /// - /// Rotate 270 degree clockwise - /// - WICBitmapTransformRotate270 = 0x3, - /// - /// Flip the image horizontally - /// - WICBitmapTransformFlipHorizontal = 0x8, - /// - /// Flip the image vertically - /// - WICBitmapTransformFlipVertical = 0x10 - }; \ No newline at end of file diff --git a/PlatformSupport/Win32Public.hpp b/PlatformSupport/Win32Public.hpp index f0390dd..95ebce1 100644 --- a/PlatformSupport/Win32Public.hpp +++ b/PlatformSupport/Win32Public.hpp @@ -4,4 +4,5 @@ using LONG = size_t; #include "Win32DXG.hpp" #include "Win32Errors.hpp" + #include "Win32WIC.hpp" #endif \ No newline at end of file diff --git a/PlatformSupport/Win32WIC.hpp b/PlatformSupport/Win32WIC.hpp new file mode 100644 index 0000000..773b66d --- /dev/null +++ b/PlatformSupport/Win32WIC.hpp @@ -0,0 +1,29 @@ +#pragma once + +enum WICBitmapTransformOptions +{ + /// + /// Don't Rotate + /// + WICBitmapTransformRotate0 = 0, + /// + /// Rotate 90 degree clockwise + /// + WICBitmapTransformRotate90 = 0x1, + /// + /// Rotate 180 degree + /// + WICBitmapTransformRotate180 = 0x2, + /// + /// Rotate 270 degree clockwise + /// + WICBitmapTransformRotate270 = 0x3, + /// + /// Flip the image horizontally + /// + WICBitmapTransformFlipHorizontal = 0x8, + /// + /// Flip the image vertically + /// + WICBitmapTransformFlipVertical = 0x10 +}; \ No newline at end of file