优化更新代码,添加界面功能并整合
This commit is contained in:
37
WPFluent/Interop/WinDef/POINT.cs
Normal file
37
WPFluent/Interop/WinDef/POINT.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
|
||||
|
||||
/* This Source Code is partially based on reverse engineering of the Windows Operating System,
|
||||
and is intended for use on Windows systems only.
|
||||
This Source Code is partially based on the source code provided by the .NET Foundation. */
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace WPFluent.Interop.WinDef;
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
#pragma warning disable SA1307 // Accessible fields should begin with upper-case letter
|
||||
|
||||
/// <summary>
|
||||
/// The POINT structure defines the x- and y-coordinates of a point.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct POINT
|
||||
{
|
||||
public POINT(int x, int y)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
}
|
||||
/// <summary>
|
||||
/// Specifies the x-coordinate of the point.
|
||||
/// </summary>
|
||||
public int x;
|
||||
|
||||
/// <summary>
|
||||
/// Specifies the y-coordinate of the point.
|
||||
/// </summary>
|
||||
public int y;
|
||||
}
|
||||
|
||||
#pragma warning restore SA1307 // Accessible fields should begin with upper-case letter
|
||||
Reference in New Issue
Block a user