| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/cppwinrt/winrt/impl/ |
Upload File : |
// C++/WinRT v2.0.190620.2
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef WINRT_Windows_Graphics_2_H
#define WINRT_Windows_Graphics_2_H
#include "winrt/impl/Windows.Graphics.1.h"
namespace winrt::Windows::Graphics
{
struct DisplayAdapterId
{
uint32_t LowPart;
int32_t HighPart;
};
inline bool operator==(DisplayAdapterId const& left, DisplayAdapterId const& right) noexcept
{
return left.LowPart == right.LowPart && left.HighPart == right.HighPart;
}
inline bool operator!=(DisplayAdapterId const& left, DisplayAdapterId const& right) noexcept
{
return !(left == right);
}
struct PointInt32
{
int32_t X;
int32_t Y;
};
inline bool operator==(PointInt32 const& left, PointInt32 const& right) noexcept
{
return left.X == right.X && left.Y == right.Y;
}
inline bool operator!=(PointInt32 const& left, PointInt32 const& right) noexcept
{
return !(left == right);
}
struct RectInt32
{
int32_t X;
int32_t Y;
int32_t Width;
int32_t Height;
};
inline bool operator==(RectInt32 const& left, RectInt32 const& right) noexcept
{
return left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height;
}
inline bool operator!=(RectInt32 const& left, RectInt32 const& right) noexcept
{
return !(left == right);
}
struct SizeInt32
{
int32_t Width;
int32_t Height;
};
inline bool operator==(SizeInt32 const& left, SizeInt32 const& right) noexcept
{
return left.Width == right.Width && left.Height == right.Height;
}
inline bool operator!=(SizeInt32 const& left, SizeInt32 const& right) noexcept
{
return !(left == right);
}
}
#endif