This commit is contained in:
Reece Wilson 2020-09-12 03:50:11 +01:00
parent 19c45099db
commit c0c3d4e6b7
3 changed files with 30 additions and 28 deletions

View File

@ -38,31 +38,3 @@ inline ENUMTYPE &operator ^= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((i
#define TRUE 1
#define FALSE 0
enum WICBitmapTransformOptions
{
/// <summary>
/// Don't Rotate
/// </summary>
WICBitmapTransformRotate0 = 0,
/// <summary>
/// Rotate 90 degree clockwise
/// </summary>
WICBitmapTransformRotate90 = 0x1,
/// <summary>
/// Rotate 180 degree
/// </summary>
WICBitmapTransformRotate180 = 0x2,
/// <summary>
/// Rotate 270 degree clockwise
/// </summary>
WICBitmapTransformRotate270 = 0x3,
/// <summary>
/// Flip the image horizontally
/// </summary>
WICBitmapTransformFlipHorizontal = 0x8,
/// <summary>
/// Flip the image vertically
/// </summary>
WICBitmapTransformFlipVertical = 0x10
};

View File

@ -4,4 +4,5 @@
using LONG = size_t;
#include "Win32DXG.hpp"
#include "Win32Errors.hpp"
#include "Win32WIC.hpp"
#endif

View File

@ -0,0 +1,29 @@
#pragma once
enum WICBitmapTransformOptions
{
/// <summary>
/// Don't Rotate
/// </summary>
WICBitmapTransformRotate0 = 0,
/// <summary>
/// Rotate 90 degree clockwise
/// </summary>
WICBitmapTransformRotate90 = 0x1,
/// <summary>
/// Rotate 180 degree
/// </summary>
WICBitmapTransformRotate180 = 0x2,
/// <summary>
/// Rotate 270 degree clockwise
/// </summary>
WICBitmapTransformRotate270 = 0x3,
/// <summary>
/// Flip the image horizontally
/// </summary>
WICBitmapTransformFlipHorizontal = 0x8,
/// <summary>
/// Flip the image vertically
/// </summary>
WICBitmapTransformFlipVertical = 0x10
};