Files
nearby/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h
T
hais f5fcd35ced nearby sdk refactor
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00

77 lines
2.2 KiB
C

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
#pragma once
#ifndef WINRT_Windows_Graphics_2_H
#define WINRT_Windows_Graphics_2_H
#include "winrt/impl/Windows.Graphics.1.h"
WINRT_EXPORT 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 DisplayId
{
uint64_t Value;
};
inline bool operator==(DisplayId const& left, DisplayId const& right) noexcept
{
return left.Value == right.Value;
}
inline bool operator!=(DisplayId const& left, DisplayId 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